All reports
High

Guardrails has an arbitrary code execution vulnerability

Affected versions

Version ranges need review.

Affected versions
>= 0.2.9, < 0.5.10
Fixed version
0.5.10
Affected versions
>=0.2.9 <0.5.10
Fixed version
0.5.10

Exploitation

CVE-2024-45858

Probability of exploitation in the next 30 days: 0.38%

FIRST EPSS · 2026-11-20

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.

Links