CVE-2026-45758
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedGuardrails 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a supply chain attack where a malicious version (0.10.1) of the guardrails-ai Python package was published to PyPI. Users who installed this version may have had arbitrary code executed on their systems, potentially leading to credential theft or unauthorized access.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 0.10.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check if guardrails-ai is installedRun `pip show guardrails-ai` or `pip list | grep guardrails`Affected if The package appears in the output at all (any version could potentially have been installed during the window)
-
Identify the installed versionLook at the Version field in the pip show output, or run `pip show guardrails-ai | grep Version`Affected if Version shows 0.10.1 specifically (the malicious version)
-
Check installation date and sourceRun `pip show guardrails-ai` and check the 'Installed from' field, or review pip history logs if available with `pip list --format=freeze | grep guardrails`Affected if Package was installed from PyPI during or around May 11, 2026 and resolves to version 0.10.1
-
Verify package integrityRun `pip hash -r $(python -c "import guardrails; print(guardrails.__file__)")` if the package imports, or manually inspect the installed package directory for unexpected filesAffected if Any unexpected executable scripts, obfuscated files, or suspicious code in the package directory
A user is affected if guardrails-ai version 0.10.1 was installed from PyPI during the May 11, 2026 window (approximately 2 hours), as this version contained attacker-injected arbitrary code execution code.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImmediately upgrade to version 0.10.2 or downgrade to 0.10.0. Additionally, rotate all credentials present on affected machines (GitHub PATs, cloud keys, API tokens) and audit GitHub accounts for unauthorized activity.
guardrails-ai 0.10.2
- Check if guardrails-ai version 0.10.1 is currently installed using: pip show guardrails-ai
- If version 0.10.1 is installed, immediately uninstall it: pip uninstall guardrails-ai
- Install the safe version 0.10.2: pip install guardrails-ai==0.10.2
- Verify the installed version is no longer 0.10.1: pip show guardrails-ai
- If version 0.10.1 was installed, rotate all credentials that were accessible from the affected machine including GitHub personal access tokens, cloud provider API keys, package registry tokens, and any other API keys
- Audit your GitHub account for any unauthorized workflows, repositories, or suspicious activity
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,880.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45758 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45758 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data