CVE-2024-45858: Guardrails Ai Guardrails
High severity, CVSS 7.8. EPSS: 0.4% chance of exploitation in the next 30 days.
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.
Affected products
- Guardrails Ai Guardrails: from 0.2.9, before 0.5.10 (fixed in 0.5.10)
- Guardrailsai Guardrails: from 0.2.9, up to and including 0.5.10
Published 2024-09-18. Last modified 2026-06-17.