CVE-2026-45758: CWE-506: Embedded Malicious Code in guardrails-ai guardrails
On May 11, 2026, a malicious version (0. 10. 1) of the Python framework guardrails-ai was published to PyPI. This version contained embedded malicious code. The malicious package was identified and quarantined by PyPI within approximately two hours. No evidence of data exfiltration or unauthorized requests to Guardrails AI infrastructure has been observed. Users who installed version 0. 10. 1 are advised to upgrade to 0. 10.
AI Analysis
Technical Summary
CVE-2026-45758 describes a critical security vulnerability involving the publication of 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 exploitation evidence has been found, the vulnerability poses a high risk due to potential credential theft or unauthorized access. The vulnerability affects only version 0.10.1 of guardrails-ai. Users are recommended to upgrade to version 0.10.2 or downgrade to 0.10.0 to avoid the malicious code.
Potential Impact
The malicious package could have led to compromise of user credentials such as GitHub personal access tokens, cloud provider keys, package registry tokens, and API keys if installed. The CVSS score of 9.6 indicates critical impact with high confidentiality, integrity, and availability consequences. However, telemetry and log reviews by the maintainers found no evidence of data exfiltration or malicious activity originating from the compromised version. The risk remains significant for users who installed the affected version and did not take remediation steps.
Mitigation Recommendations
Users should immediately upgrade to guardrails-ai version 0.10.2 or downgrade to 0.10.0, both of which are confirmed unaffected. Those who installed version 0.10.1 should rotate all credentials accessible from their machines, including GitHub PATs, cloud provider keys, package registry tokens, and API keys. Additionally, users should audit their GitHub accounts for unauthorized workflows or repositories. Since PyPI quarantined the malicious package within two hours, no further action is required regarding the package source. Patch status is not explicitly stated but upgrading or downgrading to unaffected versions is the recommended remediation.
CVE-2026-45758: CWE-506: Embedded Malicious Code in guardrails-ai guardrails
Description
On May 11, 2026, a malicious version (0. 10. 1) of the Python framework guardrails-ai was published to PyPI. This version contained embedded malicious code. The malicious package was identified and quarantined by PyPI within approximately two hours. No evidence of data exfiltration or unauthorized requests to Guardrails AI infrastructure has been observed. Users who installed version 0. 10. 1 are advised to upgrade to 0. 10.
CVSS v3.1
Score 9.6critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45758 describes a critical security vulnerability involving the publication of 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 exploitation evidence has been found, the vulnerability poses a high risk due to potential credential theft or unauthorized access. The vulnerability affects only version 0.10.1 of guardrails-ai. Users are recommended to upgrade to version 0.10.2 or downgrade to 0.10.0 to avoid the malicious code.
Potential Impact
The malicious package could have led to compromise of user credentials such as GitHub personal access tokens, cloud provider keys, package registry tokens, and API keys if installed. The CVSS score of 9.6 indicates critical impact with high confidentiality, integrity, and availability consequences. However, telemetry and log reviews by the maintainers found no evidence of data exfiltration or malicious activity originating from the compromised version. The risk remains significant for users who installed the affected version and did not take remediation steps.
Mitigation Recommendations
Users should immediately upgrade to guardrails-ai version 0.10.2 or downgrade to 0.10.0, both of which are confirmed unaffected. Those who installed version 0.10.1 should rotate all credentials accessible from their machines, including GitHub PATs, cloud provider keys, package registry tokens, and API keys. Additionally, users should audit their GitHub accounts for unauthorized workflows or repositories. Since PyPI quarantined the malicious package within two hours, no further action is required regarding the package source. Patch status is not explicitly stated but upgrading or downgrading to unaffected versions is the recommended remediation.
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: 6/5/2026, 8:18:43 PM
Last enriched: 6/5/2026, 8:33:44 PM
Last updated: 6/5/2026, 9:22:13 PM
Views: 6
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.