CVE-2025-46726 Details
Description
Langroid is a framework for building large-language-model-powered applications. Prior to version 0.53.4, a LLM application leveraging `XMLToolMessage` class may be exposed to untrusted XML input that could result in DoS and/or exposing local files with sensitive information. Version 0.53.4 fixes the issue.
A vulnerability exists in Langroid versions prior to 0.53.4 within the XMLToolMessage class. This issue allows an LLM application to process untrusted XML input, potentially leading to a denial-of-service condition and the exposure of local files containing sensitive information. The vulnerability arises because XMLToolMessage utilizes the lxml library without proper safeguards, making it susceptible to quadratic blowup attacks and XML External Entity (XXE) injection. By default, lxml processes external entity declarations that can access local files, creating additional security risks.
Users can upgrade to Langroid version 0.53.4 or later, which addresses this vulnerability by implementing proper safeguards in the XMLToolMessage class. The updated version is available on the Langroid GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| langroid langroid | < 0.53.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 1, 2025 | Initial Analysis | [email protected] |
| May 5, 2025 | New CVE Received | [email protected] |