Advisory record · GHSA-r6hf-g5x6-7pv9

Guardrails AI contains a code injection vulnerability in its Hub package installation mechanism

CVSS 9.8 CriticalCriticalEPSS 0.0063 · 51st percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 12 May 2026, 18:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
guardrails-aiPyPI<=0.6.7No fixed version yet
Identifiers
GHSA-r6hf-g5x6-7pv9 · CVE-2026-31233 · PYSEC-2026-347
Weakness (CWE)
CWE-94
Published
12 May 2026
Updated
27 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Guardrails AI through version 0.6.7 (PyPI package guardrails-ai) has a code injection flaw in the Hub package installation mechanism, where a script named in a manifest's post_install field is run without proper validation. An attacker who can publish a malicious package to the Guardrails Hub could get code executed on any system where a victim installs it, which the source describes as remote code execution. No fixed version is listed in the source.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0063, the 51st percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:07 UTC First seen by agentprime
  2. 31 Oct 2026, 14:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.