~ / search / GHSA-w392-75q8-vr67

GHSA-w392-75q8-vr67

Guardrails has an arbitrary code execution vulnerability

Source: GitHub Advisory Database (reviewed) High CVE-2024-45858

Packages

EcosystemPackageAffectedFixed in
PyPI guardrails-ai >= 0.2.9, < 0.5.10 0.5.10

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.