High severity7.8GHSA Advisory· Published Sep 18, 2024· Updated Apr 15, 2026
CVE-2024-45858
CVE-2024-45858
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
guardrails-aiPyPI | >= 0.2.9, < 0.5.10 | 0.5.10 |
Affected products
2- Range: >= 0.2.9, < 0.5.10
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-w392-75q8-vr67ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-45858ghsaADVISORY
- github.com/guardrails-ai/guardrails/commit/ab12701e8c3ef41273ff9b3912f2e4e28ae8306fghsaWEB
- hiddenlayer.com/sai-security-advisory/2024-09-guardrailsghsaWEB
- hiddenlayer.com/sai-security-advisory/2024-09-guardrails/nvd
News mentions
0No linked articles in our index yet.