CVE-2026-31233

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 sanitization, allowing remote code execution. An attacker who can publish malicious packages to the Hub can inject arbitrary code that will be executed on any system where a victim installs the malicious package.
Configurations

No configuration.

History

14 May 2026, 20:17

Type Values Removed Values Added
CWE CWE-94
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

12 May 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-12 18:16

Updated : 2026-05-14 20:17


NVD link : CVE-2026-31233

Mitre link : CVE-2026-31233

CVE.ORG link : CVE-2026-31233


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')