guardrails-ai: known vulnerabilities and the safe version
The version to be on
Version 0.5.10 or later fixes every vulnerability on this page that has a recorded fix.
Upgrade guardrails-ai with pip
pip install --upgrade "guardrails-ai>=0.5.10"
pip show guardrails-ai | grep VersionPin it in requirements.txt
guardrails-ai>=0.5.10Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.
Watch guardrails-ai
Get an email only when guardrails-ai has a new vulnerability record. Unsubscribe with one click.
Badge for your README
Shows the number of known critical and high vulnerabilities in guardrails-ai and the version that fixes them. It updates by itself.
Markdown
[](https://securityelites.com/ai-vulnerabilities/package/guardrails-ai/)All records
- Malicious code in guardrails-ai 0.10.1 (supply chain compromise)Unknown · CVE-2026-45758 · no fix recorded · 19 May 2026
- Guardrails AI contains a code injection vulnerability in its Hub package installation mechanismUnknown · CVE-2026-31233 · no fix recorded · 13 May 2026
- Malicious code in guardrails-ai (PyPI)Unknown · MAL-2026-3607 · no fix recorded · 12 May 2026
- Guardrails has an arbitrary code execution vulnerabilityUnknown · CVE-2024-45858 · fixed in 0.5.10 · 18 Sep 2024
- Guardrails AI vulnerable to Improper Restriction of XML External Entity ReferenceUnknown · CVE-2024-6961 · fixed in 0.5.0 · 21 Jul 2024