PT-2024-31815 · Guardrails Ai · Guardrails Ai Guardrails Framework

·

CVE-2024-45858

·

Published

2024-09-18

·

Updated

2026-07-07

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Guardrails AI Guardrails framework versions 0.2.9 through 0.5.10
Description An arbitrary code execution issue exists due to the way the Guardrails AI Guardrails framework validates XML files. If a maliciously crafted XML file containing Python code is loaded, the code will be executed on the user's machine because it is passed to an eval function.
Recommendations For Guardrails AI Guardrails framework versions 0.2.9 through 0.5.10, consider disabling the XML validation feature until a patch is available to prevent potential code execution. Restrict access to loading XML files from untrusted sources to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Eval Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-45858
GHSA-W392-75Q8-VR67
PYSEC-2026-1432

Affected Products

Guardrails Ai Guardrails Framework