Live threats

All CVEs / Guardrails AI

CVE-2024-45858Guardrails AI guardrails

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.5%
probability of exploitation in 30 days · percentile 38
Auth required
Yes
Published
Sep 18, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-95
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

An arbitrary code execution vulnerability exists in versions 0.2.9 up to 0.5.10 of the Guardrails AI Guardrails framework because of the way it validates XML files. If a victim user loads a maliciously crafted XML file containing Python code, the code will be passed to an eval function, causing it to execute on the user's machine.

Original NVD text.

What to do

  1. Apply the vendor's security update for guardrails.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI guardrails-ai ≥ 0.2.9 < 0.5.10 0.5.10 pip install "guardrails-ai>=0.5.10"
PyPI guardrails-ai ≥ 0.2.9 < 0.5.10 0.5.10 pip install "guardrails-ai>=0.5.10"

Per OSV / GitHub Advisories (GHSA-w392-75q8-vr67, PYSEC-2026-1432). 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.