CVE-2024-45858

Published Sep 18, 2024 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2883 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.
Github GHSA Github GHSA GHSA-w392-75q8-vr67 Guardrails has an arbitrary code execution vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00115}

epss

{'score': 0.00121}

Type Values Removed Values Added
First Time appeared Guardrailsai
Guardrailsai guardrails
CPEs cpe:2.3:a:guardrailsai:guardrails:*:*:*:*:*:*:*:*
Vendors & Products Guardrailsai
Guardrailsai guardrails
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
HiddenLayer
Published
Updated
Sep 18, 2024, 5:45 PM
Reserved
Sep 10, 2024, 3:36 PM
Status
Deferred
Published
Sep 18, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:54 AM