{"id":"CVE-2024-45858","aliases":["GHSA-w392-75q8-vr67","PYSEC-2026-1432"],"url":"https://o3.security/vulnerability/CVE-2024-45858","summary":"Guardrails has an arbitrary code execution vulnerability","details":"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.","published":"2024-09-18T15:02:17.891Z","modified":"2026-08-08T03:30:28.876170083Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"guardrails-ai","fixedVersion":"0.5.10"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45858.json"},{"type":"ADVISORY","url":"https://hiddenlayer.com/sai-security-advisory/2024-09-guardrails/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45858"},{"type":"PACKAGE","url":"https://github.com/guardrails-ai/guardrails"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:30:28.876170083Z"}}