Guardrails has an arbitrary code execution vulnerability
High severity
GitHub Reviewed
Published
Sep 18, 2024
to the GitHub Advisory Database
•
Updated Sep 18, 2024
Description
Published by the National Vulnerability Database
Sep 18, 2024
Published to the GitHub Advisory Database
Sep 18, 2024
Reviewed
Sep 18, 2024
Last updated
Sep 18, 2024
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.
References