Live threats

All CVEs / guardrailsai

CVE-2024-6961guardrailsai guardrails

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
0.6%
probability of exploitation in 30 days · percentile 41
Auth required
No
Published
Jul 21, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for guardrails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI guardrails-ai < 0.5.0 0.5.0 pip install "guardrails-ai>=0.5.0"
PyPI guardrails-ai < 0.5.0 0.5.0 pip install "guardrails-ai>=0.5.0"

Per OSV / GitHub Advisories (GHSA-f8hx-f4xw-c646, PYSEC-2026-1431). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.