CVE-2026-45758: Malicious code in guardrails-ai 0.10.1 (supply chain compromise)
Vulnerability summary
CVE-2026-45758 is a critical (CVSS 9.6) Embedded Malicious Code vulnerability in guardrails-ai guardrails. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 21.3% of scored vulnerabilities.
Severe, CVSS 9.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 05-06-2026PublishedVulnerability first disclosed.
- 08-06-2026Last modifiedVulnerability information updated.
Description
Guardrails AI is a Python framework that helps build AI applications. On May 11, 2026 at approximately 6:00 PM Pacific, an attacker published a malicious version of `guardrails-ai` (0.10.1) to PyPI. Aany user who installed `guardrails-ai==0.10.1` from PyPI on May 11, 2026 may be affected. Security researchers identified the malicious package within approximately 2 hours of publication, and PyPI quarantined the repository. Based on our telemetry, Guardrails AI maintainers have observed no requests to Guardrails AI infrastructure originating from the malicious 0.10.1 version, and a review of system and access logs has produced no evidence of user data exfiltration through their systems. Users should upgrade to version 0.10.2 or downgrade to version 0.10.0, both of which are unaffected. Those who installed version 0.10.1 should rotate any credentials accessible from their machine (GitHub PATs, cloud provider keys, package registry tokens, API keys) and audit their GitHub account for unauthorized workflows or repositories.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · PypiEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- NVDNIST9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.28% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Guardrails-ai1 product
- guardrails= 0.10.1
Guardrailsai1 product
- guardrails_ai0.10.1
PyPI1 product
- guardrails-ai0.10.1 | ≤ 0.10.1
3 vendors · 3 products
References
6 links- github.com/guardrails-ai/guardrails/security/advisories/GHSA-xmpw-2vmm-p4p6X Refsource CONFIRMWEBAdvisoryMitigationVendor Advisory
- github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.mdX Refsource MISCWEBAdvisoryVendor Advisory