Advisory record · GHSA-3589-pxp7-3gj8

Pydantic AI Harness tool-call limit bypass in nested CodeMode calls

CVSS 6.3 MediumEPSS 0.0035 · 28th percentile

Published by the GitHub Advisory Database at 21 Oct 2026, 15:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pydantic-ai-harnessPyPI<0.59.00.59.0
Identifiers
GHSA-3589-pxp7-3gj8 · CVE-2026-114386
Weakness (CWE)
CWE-770
Published
21 Oct 2026
Updated
23 Oct 2026

Machine-written summary

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

Pydantic AI Harness (pydantic-ai-harness) versions before 0.59.0 do not enforce the tool-call limit on tools invoked from within run_code in the CodeMode toolset. An attacker who can influence the sandboxed program, including through prompt-injected content, can call tools past the operator's limit, including costly or side-effecting ones. Upgrade to pydantic-ai-harness 0.59.0 or later.

Written 1 Nov 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
6.3 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0035, the 28th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 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.