Guardrails AI thru 0.6.7 contains a code injection vulnerability (CWE-94) in its Hub…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | guardrails-ai (PyPI) | up to 0.6.7 | — | No fix listed | GHSA-r6hf-g5x6-7pv9 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- guardrails-ai (PyPI) Vendor— Affected up to 0.6.7 Fixed in — No fix listed GHSA-r6hf-g5x6-7pv9
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-31233
- 2026-10-03 Alias added: GHSA-r6hf-g5x6-7pv9
References
Sources
- CVE-2026-31233 · CVE Program
- CVE-2026-31233 · NVD
- FIRST EPSS
- GHSA-r6hf-g5x6-7pv9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences