CVE-2024-45858

State
Published
Severity
7.8 High
Published
Sep 18, 2024
Updated
Sep 18, 2024
Reserved
Sep 10, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHiddenLayer

Weaknesses

  • CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (‘Eval Injection’)

Affected Products

ProductVersions
guardrailsGuardrails AI
  • 0.2.9 to before 0.5.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.