{"id":"CVE-2024-6961","published":"2024-07-21T10:49:54Z","modified":"2024-11-25T12:48:07Z","title":"XXE in Guardrails AI when consuming RAIL documents","vendor":null,"product":null,"tier":"tail","description":{"text":"RAIL documents are an XML-based format invented by Guardrails AI to enforce formatting checks on LLM outputs. Guardrails users that consume RAIL documents from external sources are vulnerable to XXE, which may cause leakage of internal file data via the SYSTEM entity.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00408,"percentile":0.35962,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/guardrails-rail-xxe-jfsa-2024-001035519/","tags":["vendor-advisory"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":7.19},{"name":"CVSS severity","points":4.13}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 0.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-22T18:24:13.885767Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"guardrails-ai","vulnerableRanges":["<0.5.0"],"patched":["0.5.0"],"from":["GHSA-f8hx-f4xw-c646","PYSEC-2026-1431"],"provenance":"source"}],"summary":{"text":"The flaw is an XML External Entity (XXE) injection in Guardrails AI's handling of RAIL documents, an XML-based format the project created to enforce formatting checks on LLM outputs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:38Z"},"euvd":{"id":"EUVD-2024-2333","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-6961","published":"2024-07-21","fixed":"0.5.0","kev":false},{"cve":"CVE-2024-45858","published":"2024-09-18","fixed":"0.5.10","kev":false,"link":{"from":"CVE-2024-6961","to":"CVE-2024-45858","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:guardrails-ai","fromFixed":"0.5.0","toFixed":"0.5.10","daysApart":59}]}}],"package":"PyPI:guardrails-ai"}}