CVE-2025-46726
Langroid Allows XXE Injection via XMLToolMessage
Summary
Remediation
Upgrade to the fixed version using your package manager.
pip install "langroid>=0.53.4"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| langroid | pypi | 0.1.100, 0.1.101, 0.1.102, 0.1.103 (+434 more) | 0.53.4 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
References
- https://github.com/langroid/langroid/security/advisories/GHSA-pw95-88fg-3j6fWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-46726ADVISORY
- https://github.com/langroid/langroid/commit/36e7e7db4dd1636de225c2c66c84052b1e9ac3c3WEB
- https://github.com/langroid/langroidPACKAGE
- https://github.com/langroid/langroid/blob/df6227e6c079ec22bb2768498423148d6685acff/langroid/agent/xml_tool_message.py#L51-L52WEB
- https://pypi.org/project/langroidPACKAGE
- https://github.com/advisories/GHSA-pw95-88fg-3j6fADVISORY
Frequently Asked Questions
- What is CVE-2025-46726?
- Langroid Allows XXE Injection via XMLToolMessage This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2025-46726?
- CVE-2025-46726 affects langroid. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-46726 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2025-46725CRITICAL
Langroid has a Code Injection vulnerability in LanceDocChatAgent through vector_store
- CVE-2026-55615CRITICAL
Langroid: Neo4jChatAgent executes LLM-generated Cypher without validation (prompt-to-Cypher injection; config-conditional RCE), mirroring the SQLChatAgent bug fixed in CVE-2026-25879
- CVE-2026-54760CRITICAL
Langroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file calls
- CVE-2025-46724CRITICAL
Langroid has a Code Injection vulnerability in TableChatAgent
- CVE-2026-25879CRITICAL
Langroid has Prompt to SQL Injection, Leading to RCE
- CVE-2026-54769CRITICAL
Langroid: Sandbox Escape to Remote Code Execution via Incomplete `eval()` Mitigation in TableChatAgent
- CVE-2026-25481CRITICAL
Langroid has WAF Bypass Leading to RCE in TableChatAgent
- CVE-2025-46725HIGH
Langroid has a Code Injection vulnerability in LanceDocChatAgent through vector_store
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies