CVE-2026-45758: Malicious code in guardrails-ai 0.10.1 (supply chain compromise)
(updated )
On May 11, 2026 at approximately 6:00 PM Pacific, an attacker published a malicious version of guardrails-ai (0.10.1) to PyPI.
Affected: any user who installed guardrails-ai==0.10.1 from PyPI on May 11, 2026.
Security researchers identified the malicious package within approximately 2 hours of publication, and PyPI quarantined the repository. Based on our telemetry, we 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 our systems.
For the full timeline, technical details, and remediation steps we have taken, see SECURITY_ADVISORY.md.
References
- github.com/advisories/GHSA-xmpw-2vmm-p4p6
- github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.md
- github.com/guardrails-ai/guardrails/issues/1473
- github.com/guardrails-ai/guardrails/security/advisories/GHSA-xmpw-2vmm-p4p6
- github.com/pypa/advisory-database/tree/main/vulns/guardrails-ai/PYSEC-2026-206.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-45758
Code Behaviors & Features
Detect and mitigate CVE-2026-45758 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →