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.
Published: 2024-09-18
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

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

Tue, 15 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00115}

epss

{'score': 0.00121}


Wed, 18 Sep 2024 18:30:00 +0000

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'}


Wed, 18 Sep 2024 15:15:00 +0000

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'}


Subscriptions

Guardrailsai Guardrails
cve-icon MITRE

Status: PUBLISHED

Assigner: HiddenLayer

Published:

Updated: 2024-09-18T17:45:44.580Z

Reserved: 2024-09-10T15:36:55.926Z

Link: CVE-2024-45858

cve-icon Vulnrichment

Updated: 2024-09-18T17:45:37.986Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-09-18T15:15:16.333

Modified: 2024-09-20T12:30:17.483

Link: CVE-2024-45858

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses