NetSight
high8.8

CVE-2024-45858

Guardrails has an arbitrary code execution vulnerability

Impact

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 packages

EcosystemPackageAffectedFixed in
pipguardrails-ai>= 0.2.9, < 0.5.100.5.10

Affected products

ProductAffected versions
Versions 0.2.9
before 0.5.10

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References