Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-45758: CWE-506: Embedded Malicious Code in guardrails-ai guardrails

0
Critical
VulnerabilityCVE-2026-45758cvecve-2026-45758cwe-506
Published: Fri Jun 05 2026 (06/05/2026, 19:35:45 UTC)
Source: CVE Database V5
Vendor/Project: guardrails-ai
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/05/2026, 20:33:44 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses