{"id":"CVE-2026-45758","aliases":["CVE-2026-45758","GHSA-xmpw-2vmm-p4p6","PYSEC-2026-206"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious code in guardrails-ai 0.10.1 (supply chain compromise)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nOn May 11, 2026 at approximately 6:00 PM Pacific, an attacker published a malicious version of `guardrails-ai` (0.10.1) to PyPI.\n\n**Affected:** any user who installed `guardrails-ai==0.10.1` from PyPI on May 11, 2026.\n\nSecurity researchers identified the malicious package within approximately 2 hours of publication, and PyPI quarantined the repository. Based on our telemetry, we 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 our systems.\n\nFor the full timeline, technical details, and remediation steps we have taken, see [SECURITY_ADVISORY.md](https://github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.md).\n\n### Patches\n\nNo patched version above 0.10.1 is available yet. **Downgrade to `0.10.0`**, which is unaffected.\n\n### Workarounds\n\n**1. Pin to a safe version:**\n\n`guardrails-ai==0.10.0`\n\n**2. While the PyPI quarantine is active, install from GitHub:**\n\n`pip install git+https://github.com/guardrails-ai/guardrails.git@v0.10.0`\n\nThe `v0.10.0` tag in this repository is clean. Track quarantine status here: [#1473](https://github.com/guardrails-ai/guardrails/issues/1473).\n\n**3. If you installed 0.10.1, treat the host as potentially compromised.** Rotate any credentials accessible from that machine (GitHub PATs, cloud provider keys, package registry tokens, API keys) and audit your GitHub account for unauthorized workflows or repositories.\n\n**4. Snowglobe and Guardrails Hub users :** all Snowglobe and Guardrails Hub API keys will be invalidated at 2:00 PM Pacific on May 13, 2026. Rotate yours before then to avoid service interruption.\n\n### References\n\n- Full advisory, timeline, and remediation details: [SECURITY_ADVISORY.md](https://github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.md)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Guardrails AI es un framework de Python que ayuda a construir aplicaciones de IA. El 11 de mayo de 2026, aproximadamente a las 6:00 PM hora del Pacífico, un atacante publicó una versión maliciosa de 'guardrails-ai' (0.10.1) en PyPI. Cualquier usuario que haya instalado 'guardrails-ai==0.10.1' desde PyPI el 11 de mayo de 2026 podría verse afectado. Investigadores de seguridad identificaron el paquete malicioso en aproximadamente 2 horas desde su publicación, y PyPI puso en cuarentena el repositorio. Según nuestra telemetría, los mantenedores de Guardrails AI no han observado solicitudes a la infraestructura de Guardrails AI originadas desde la versión maliciosa 0.10.1, y una revisión de los registros de sistema y acceso no ha producido evidencia de exfiltración de datos de usuario a través de sus sistemas. Los usuarios deben actualizar a la versión 0.10.2 o degradar a la versión 0.10.0, ambas no afectadas. Aquellos que instalaron la versión 0.10.1 deben rotar cualquier credencial accesible desde su máquina (PATs de GitHub, claves de proveedores de la nube, tokens de registro de paquetes, claves de API) y auditar su cuenta de GitHub en busca de flujos de trabajo o repositorios no autorizados.","source":"nvd"}],"published":"2026-05-19T15:40:44.000Z","modified":"2026-07-23T07:10:00.113Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"version":"= 0.10.1","status":"affected"}],"vendor":"guardrails-ai","product":"guardrails","source":"cvelist"},{"ranges":[{"version":"0.10.1","status":"affected"}],"ecosystem":"PyPI","package":"guardrails-ai","purl":"pkg:pypi/guardrails-ai","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.10.1"}],"vendor":"guardrailsai","product":"guardrails_ai","cpe":"cpe:2.3:a:guardrailsai:guardrails_ai:0.10.1:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.10.1"}],"ecosystem":"PyPI","package":"guardrails-ai","purl":"pkg:pypi/guardrails-ai","source":"pysec"}],"references":[{"url":"https://github.com/guardrails-ai/guardrails/security/advisories/GHSA-xmpw-2vmm-p4p6","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/guardrails-ai/guardrails/issues/1473","tags":["issue-tracking","report","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/guardrails-ai/guardrails/blob/main/SECURITY_ADVISORY.md","tags":["advisory","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45758","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/guardrails-ai/guardrails","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/guardrails-ai/PYSEC-2026-206.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-08T16:20:02.293Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45758","url":"https://www.cve.org/CVERecord?id=CVE-2026-45758","licence":"CVE Terms of Use","modified":"2026-06-08T16:21:05.870Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xmpw-2vmm-p4p6","url":"https://github.com/advisories/GHSA-xmpw-2vmm-p4p6","licence":"CC-BY-4.0","modified":"2026-06-09T13:30:23.020Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45758","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45758","licence":"Public domain","modified":"2026-07-23T07:10:00.113Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-206","url":"https://osv.dev/vulnerability/PYSEC-2026-206","licence":"CC-BY-4.0","modified":"2026-06-09T12:00:05.552Z"}],"updatedAt":"2026-11-25T22:59:23.907Z","epss":{"score":0.00276,"percentile":0.21412,"date":"2026-12-01T12:00:22.000Z"}}