NetSight
high5.9

CVE-2024-6961

Guardrails AI vulnerable to Improper Restriction of XML External Entity Reference

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipguardrails-ai< 0.5.00.5.0

Weakness classification

References