INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-6961

Guardrails AI vulnerable to Improper Restriction of XML External Entity Reference

CVE-2024-6961 ยท 2024-07-21 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Information exposure
Affected
guardrails-ai (PyPI)
CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

Guardrails parses attacker-supplied RAIL XML with external entities enabled, so a SYSTEM entity can read local files. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.