{"cve":"CVE-2026-31233","nvd":{"published":"2026-05-12T18:16:51.627","modified":"2026-06-17T10:33:28.950","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://github.com/guardrails-ai/guardrails","https://www.notion.so/CVE-2026-31233-35d1e13931888142a954fb3f50ee0c94"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-31233","score":0.00635,"percentile":0.50429,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-r6hf-g5x6-7pv9","url":"https://osv.dev/vulnerability/GHSA-r6hf-g5x6-7pv9","summary":"Guardrails AI contains a code injection vulnerability in its Hub package installation mechanism","modified":"2026-10-27T17:00:05.141416484Z","packages":[{"ecosystem":"PyPI","name":"guardrails-ai","purl":"pkg:pypi/guardrails-ai","ranges":["<=0.6.7"],"fixed":[]}]},{"id":"PYSEC-2026-347","url":"https://osv.dev/vulnerability/PYSEC-2026-347","summary":"Guardrails AI contains a code injection vulnerability in its Hub package installation mechanism","modified":"2026-07-01T20:22:54.068049Z","packages":[{"ecosystem":"PyPI","name":"guardrails-ai","purl":"pkg:pypi/guardrails-ai","ranges":["<=0.6.7"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}