{"id":"CVE-2024-6961","aliases":["CVE-2024-6961","GHSA-f8hx-f4xw-c646","PYSEC-2026-1431"],"related":[],"kind":"vulnerability","state":"published","title":"XXE in Guardrails AI when consuming RAIL documents","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Los documentos RAIL son un formato basado en XML inventado por Guardrails AI para aplicar comprobaciones de formato en los resultados de LLM. Los usuarios de Guardrails que consumen documentos RAIL de fuentes externas son vulnerables a XXE, lo que puede provocar una fuga de datos de archivos internos a través de la entidad SYSTEM.","source":"nvd"}],"published":"2024-07-21T10:49:54.782Z","modified":"2026-07-07T17:56:21.976Z","severity":{"scorer":"JFROG","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"JFROG","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"0.5.0","status":"affected"}],"package":"guardrails-ai","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.5.0","status":"affected"}],"vendor":"guardrailsai","product":"guardrails","cpe":"cpe:2.3:a:guardrailsai:guardrails:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.5.0"}],"ecosystem":"PyPI","package":"guardrails-ai","purl":"pkg:pypi/guardrails-ai","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.5.0"}],"ecosystem":"PyPI","package":"guardrails-ai","purl":"pkg:pypi/guardrails-ai","source":"pysec"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/guardrails-rail-xxe-jfsa-2024-001035519/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6961","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/guardrails-ai/guardrails/pull/922","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/guardrails-ai/guardrails/commit/f3d806afee31e2e3f97af682d16c3c1bc0d3c380","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/guardrails-ai/guardrails","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://research.jfrog.com/vulnerabilities/guardrails-rail-xxe-jfsa-2024-001035519","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/guardrails-ai","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-f8hx-f4xw-c646","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"JFROG","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-07-22T18:24:13.885Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6961","url":"https://www.cve.org/CVERecord?id=CVE-2024-6961","licence":"CVE Terms of Use","modified":"2024-11-25T12:48:07.911Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f8hx-f4xw-c646","url":"https://github.com/advisories/GHSA-f8hx-f4xw-c646","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:21.976Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6961","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6961","licence":"Public domain","modified":"2026-06-17T08:19:04.840Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1431","url":"https://osv.dev/vulnerability/PYSEC-2026-1431","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:38.864Z"}],"updatedAt":"2026-11-25T22:58:43.107Z","epss":{"score":0.00408,"percentile":0.37156,"date":"2026-12-01T12:00:22.000Z"}}