Home / CVE-2024-6961
CVE-2024-6961: is it exploited, and which versions of guardrails-ai are affected and fixed?
CVE-2024-6961 is a XML external entity (XXE) vulnerability in guardrails-ai. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: guardrails-ai before 0.5.0 (GitHub advisory GHSA-f8hx-f4xw-c646). Fixed in 0.5.0 (GitHub advisory GHSA-f8hx-f4xw-c646). Severity: Medium (5.9, CVSS 3.1, from JFROG).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-6961?
XXE in Guardrails AI when consuming RAIL documents
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.
From the CVE record by JFROG, last updated November 25, 2024, 12:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| guardrails-ai | before 0.5.0 | 0.5.0 |
As the CVE record by JFROG states it, last updated November 25, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | guardrails-ai | < 0.5.0 | 0.5.0 | GHSA-f8hx-f4xw-c646 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 18, 2024. Summary: Guardrails AI vulnerable to Improper Restriction of XML External Entity Reference.
How severe is CVE-2024-6961?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | JFROG |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-6961 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 22, 2024)
- EPSS
- 0.41% probability of exploitation activity in the next 30 days, percentile 37.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- July 21, 2024
- Published
- July 21, 2024, 10:49 UTC
- CVE record updated
- November 25, 2024, 12:48 UTC by JFROG
- NVD
- Deferred, last modified June 17, 2026, 08:19 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on July 21, 2024?
- Jul 21, 2024CVE-2024-6962 Tenda O3: stack buffer overflow
- Jul 21, 2024CVE-2024-37446 Kiboko Labs Chained Quiz: cross-site scripting (XSS)
- Jul 21, 2024CVE-2024-37447 PixelYourSite – Your smart PIXEL (TAG) Manager: cross-site scripting (XSS)
- Jul 21, 2024CVE-2024-37449 ThemePunch OHG Slider Revolution: cross-site scripting (XSS)
- Jul 21, 2024CVE-2024-37457 Ultimate Blocks – Gutenberg Blocks Plugin: cross-site scripting (XSS)
- Jul 21, 2024CVE-2024-37459 PayPlus LTD PayPlus Payment Gateway: cross-site scripting (XSS)
- Jul 21, 2024CVE-2024-37460 SuperSaaS – online appointment scheduling: cross-site scripting (XSS)
- Jul 21, 2024CVE-2024-37461 Martin Gibson IdeaPush: cross-site scripting (XSS)
Every CVE published on July 21, 2024
Questions about CVE-2024-6961
Is CVE-2024-6961 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of guardrails-ai are affected by CVE-2024-6961?
guardrails-ai before 0.5.0, per the GitHub advisory GHSA-f8hx-f4xw-c646. The tables above give every range the sources list.
Which version fixes CVE-2024-6961?
0.5.0, per the GitHub advisory GHSA-f8hx-f4xw-c646. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-6961?
Medium (5.9, CVSS 3.1, from JFROG). The severity table above shows each score with its source.
Where is the official record of CVE-2024-6961?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.