CVE-2026-45758: CWE-506: Embedded Malicious Code in guardrails-ai guardrails
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.
AI Analysis
Technical Summary
CVE-2026-45758 describes a supply chain attack where an attacker published a malicious version (0.10.1) of the guardrails-ai Python package to PyPI. This version contained embedded malicious code (CWE-506). The malicious package was live for about two hours before being quarantined. Although no telemetry or logs indicate exploitation or data exfiltration, the presence of malicious code in a widely used AI framework version poses a critical risk. The vulnerability has a CVSS 3.1 score of 9.6, reflecting network attack vector, low complexity, no privileges required, user interaction needed, scope changed, and high impact on confidentiality, integrity, and availability. Users are advised to avoid version 0.10.1 and use 0.10.0 or 0.10.2 instead.
Potential Impact
The malicious package could potentially compromise confidentiality, integrity, and availability of affected systems due to embedded malicious code. However, no known exploits in the wild or evidence of data exfiltration have been observed. The critical CVSS score reflects the potential severity if the malicious code were executed. Users who installed the affected version risk exposure of sensitive credentials and unauthorized access if the malicious code was triggered.
Mitigation Recommendations
Users should immediately upgrade to guardrails-ai version 0.10.2 or downgrade to 0.10.0, both confirmed unaffected. Those who installed version 0.10.1 should rotate all credentials accessible from their machines, including GitHub personal access tokens, cloud provider keys, package registry tokens, and API keys. Additionally, users should audit their GitHub accounts for unauthorized workflows or repositories. PyPI has quarantined the malicious package, preventing further installations. Patch status is not explicitly stated but upgrading or downgrading as above effectively mitigates the risk.
CVE-2026-45758: CWE-506: Embedded Malicious Code in guardrails-ai guardrails
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 v3.1
Score 9.6critical
Affected software
pkg:pypi/guardrails-ai/guardrailsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45758 describes a supply chain attack where an attacker published a malicious version (0.10.1) of the guardrails-ai Python package to PyPI. This version contained embedded malicious code (CWE-506). The malicious package was live for about two hours before being quarantined. Although no telemetry or logs indicate exploitation or data exfiltration, the presence of malicious code in a widely used AI framework version poses a critical risk. The vulnerability has a CVSS 3.1 score of 9.6, reflecting network attack vector, low complexity, no privileges required, user interaction needed, scope changed, and high impact on confidentiality, integrity, and availability. Users are advised to avoid version 0.10.1 and use 0.10.0 or 0.10.2 instead.
Potential Impact
The malicious package could potentially compromise confidentiality, integrity, and availability of affected systems due to embedded malicious code. However, no known exploits in the wild or evidence of data exfiltration have been observed. The critical CVSS score reflects the potential severity if the malicious code were executed. Users who installed the affected version risk exposure of sensitive credentials and unauthorized access if the malicious code was triggered.
Mitigation Recommendations
Users should immediately upgrade to guardrails-ai version 0.10.2 or downgrade to 0.10.0, both confirmed unaffected. Those who installed version 0.10.1 should rotate all credentials accessible from their machines, including GitHub personal access tokens, cloud provider keys, package registry tokens, and API keys. Additionally, users should audit their GitHub accounts for unauthorized workflows or repositories. PyPI has quarantined the malicious package, preventing further installations. Patch status is not explicitly stated but upgrading or downgrading as above effectively mitigates the risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T06:54:34.222Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a232f23e29bf47b50ba9e39
Added to database: 06/05/2026, 20:18:43 UTC
Last enriched: 06/13/2026, 09:48:17 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 206
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.