{
  "id": "CVE-2025-46726",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-46726",
  "published_at": "2025-05-05T19:21:19.597Z",
  "title": "Langroid Vulnerable to XXE Injection via XMLToolMessage",
  "vendor": "langroid",
  "product": "langroid",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-611",
  "cpes": [
    "cpe:2.3:a:langroid:langroid:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "langroid",
        "product": "langroid",
        "ranges": [
          "\u003c 0.53.4"
        ],
        "fixed_in": [
          "0.53.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade langroid to 0.53.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/langroid/langroid/security/advisories/GHSA-pw95-88fg-3j6f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/langroid/langroid/commit/36e7e7db4dd1636de225c2c66c84052b1e9ac3c3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
