CVE-2025-46726
Langroid vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Langroid. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Langroid runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/langroid/langroid/security/advisories/GHSA-pw95-88fg-3j6f · Exploit
- github.com/langroid/langroid/commit/36e7e7db4dd1636de225c2c66c84052b1e9ac3c3 · Patch
- github.com/langroid/langroid/blob/df6227e6c079ec22bb2768498423148d6685acff/langroid/agent/
- nvd.nist.gov/vuln/detail/CVE-2025-46726
- github.com/advisories/GHSA-pw95-88fg-3j6f
- nvd.nist.gov/vuln/detail/CVE-2025-46726
- cve.org/CVERecord?id=CVE-2025-46726
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.