Skip to main content
VulnerabilityPublished Updated

CVE-2026-31233: Guardrails AI contains a code injection vulnerability in its Hub package installation mechanism

Affects guardrails-aiSource GCVE Database

0
Authoritative record:CVE-2026-31233· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical.

Data as of 27 Oct 2026, 18:30 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIguardrails-aiAffected
  • <=0.6.7
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should avoid installing packages from untrusted sources on the Guardrails Hub until a fix is released. Monitor the vendor's advisory channels for updates. Since this is not a cloud service, remediation depends on vendor patching or user updates.

Description

Guardrails AI versions up to 0.6.7 have a critical code injection vulnerability in the Hub package installation mechanism. This flaw allows an attacker who can publish malicious packages to the Guardrails Hub to execute arbitrary code on any system that installs such a package. The vulnerability arises because the post_install script path is constructed from untrusted manifest data without proper validation or sanitization, enabling remote code execution.

References

Community reviews

Loading reviews…