CVE-2026-31233: Vulnerability in guardrails-ai

Critical. Guardrails AI thru 0.6.7 contains a code injection vulnerability (CWE-94) in its Hub package installation mechanism. When installing validator packages via guardrails hub install, the system retrieves a manifest from the Guardrails Hub and dynamically executes a script specified in the post_install field. The script path is constructed from untrusted manifest data and executed without proper validation or...

PyPI, CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-r6hf-g5x6-7pv9
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Published
12 May 2026
Last change
27 Oct 2026
Ecosystem
PyPI

Affected packages

Vulnerable version ranges and fixed releases

  • guardrails-ai PyPI, Affected through 0.6.7. No fixed version recorded

Advisories

Vendor and security advisories