Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langroid
  4. ›
  5. CVE-2025-46726

CVE-2025-46726: Langroid Allows XXE Injection via XMLToolMessage

May 5, 2025 (updated October 31, 2025)

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.

References

  • github.com/advisories/GHSA-pw95-88fg-3j6f
  • github.com/langroid/langroid
  • github.com/langroid/langroid/blob/df6227e6c079ec22bb2768498423148d6685acff/langroid/agent/xml_tool_message.py
  • github.com/langroid/langroid/commit/36e7e7db4dd1636de225c2c66c84052b1e9ac3c3
  • github.com/langroid/langroid/security/advisories/GHSA-pw95-88fg-3j6f
  • nvd.nist.gov/vuln/detail/CVE-2025-46726

Code Behaviors & Features

Detect and mitigate CVE-2025-46726 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.53.4

Fixed versions

  • 0.53.4

Solution

Upgrade to version 0.53.4 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

pypi/langroid/CVE-2025-46726.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:12 +0000.