CVE-2024-45858Published Sep 18, 2024 · Sep 18Updated Oct 28
Guardrails has an arbitrary code execution vulnerability
Guardrails AI guardrails
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| guardrails-ai PyPI |
|
|
Original 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.
From the CVE record · HiddenLayer