PT-2024-31815
CVE-2024-45858
·
Published
2024-09-18
·
Updated
2026-07-07
Description by
CVSS 3.1
8.8
HighMetricsAV: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.
Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾