CVE-2024-6961
MEDIUM 5.9CVSS 3.1Guardrails AI vulnerable to Improper Restriction of XML External Entity Reference
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.
- Published
- 21 Jul 2024
- Last modified
- 7 Jul 2026
- Assigned by
- reefs@jfrog.com
- NVD status
- Deferred
- Weakness
- CWE-611
- Also known as
- GHSA-f8hx-f4xw-c646PYSEC-2026-1431
- Sources
- NVDJSONOSV GHSA-f8hx-f4xw-c646JSONOSV PYSEC-2026-1431JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | reefs@jfrog.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | guardrails-ai | < 0.5.0 | 0.5.0 |
References
- https://research.jfrog.com/vulnerabilities/guardrails-rail-xxe-jfsa-2024-001035519/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-6961 · ADVISORY
- https://github.com/guardrails-ai/guardrails/pull/922 · WEB
- https://github.com/guardrails-ai/guardrails/commit/f3d806afee31e2e3f97af682d16c3c1bc0d3c380 · WEB
- https://github.com/guardrails-ai/guardrails · PACKAGE
- https://pypi.org/project/guardrails-ai · PACKAGE
- https://github.com/advisories/GHSA-f8hx-f4xw-c646 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 Jul 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jul 2024)