CVE-2024-45858
published high CVSS 3.1 · 7.8guardrails vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Guardrails AI | — | guardrails0.2.9 to < 0.5.10 · Other versions: unaffected | Affected | Not stated | HiddenLayer |
| guardrailsai | — | guardrails0.2.9 through 0.5.10 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- HiddenLayer · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Guardrails AI | guardrails | 0.2.9 to < 0.5.10 (affected · semver)Default: unaffected | HiddenLayer · cna |
| guardrailsai | guardrails | 0.2.9 through 0.5.10 (affected · semver)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-95 CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (‘Eval Injection’)
References
1Provider assertions
2HiddenLayer · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a04a0f430ebd8f84aab1e975c9d75d88e5b65681a0d7dfef983a0d1309be1aac
- Ingested
- 23 Sep 2026, 08:27:47 UTC
- Source record
- Official CVE record