# CVE-2026-45758: Malicious code in guardrails-ai 0.10.1 (supply chain compromise)

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-05-19T15:40:44.000Z
- Modified: 2026-07-23T07:10:00.113Z
- Also known as: GHSA-xmpw-2vmm-p4p6, PYSEC-2026-206
- Weaknesses: CWE-506
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- guardrails-ai guardrails: = 0.10.1
- guardrails-ai (PyPI): 0.10.1; up to 0.10.1
- guardrailsai guardrails_ai: 0.10.1

## Every score

- GitHub_M: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/guardrails-ai/guardrails/security/advisories/GHSA-xmpw-2vmm-p4p6> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/guardrails-ai/guardrails/issues/1473> (issue-tracking, report, web)
- <https://github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.md> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45758> (advisory)
- <https://github.com/guardrails-ai/guardrails> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/guardrails-ai/PYSEC-2026-206.yaml> (web)

## Sources

- CVE List: [CVE-2026-45758](https://www.cve.org/CVERecord?id=CVE-2026-45758), CVE Terms of Use, modified 2026-06-08
- GitHub Advisory Database: [GHSA-xmpw-2vmm-p4p6](https://github.com/advisories/GHSA-xmpw-2vmm-p4p6), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-45758](https://nvd.nist.gov/vuln/detail/CVE-2026-45758), Public domain, modified 2026-07-23
- PyPA Advisory Database: [PYSEC-2026-206](https://osv.dev/vulnerability/PYSEC-2026-206), CC-BY-4.0, modified 2026-06-09

---

Page: https://cve.day/CVE-2026-45758 · Whole record: https://cve.day/CVE-2026-45758.json · Rebuilt by cve.day 2026-11-25T22:59:23.907Z
