Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-114386: Pydantic AI Harness tool call limit bypass via nested calls in run_code

Identifier
CVE-2026-114386
Published
Record updated
View JSON
Affected
  • pydantic-ai-harness < 0.59.0
Fixed in
0.59.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Pydantic AI Harness before 0.59.0 does not enforce UsageLimits.tool_calls_limit on nested tool calls dispatched from run_code in the CodeMode toolset. Users or prompt-injected content can make the sandboxed program invoke tools via run_nested_call() without check_before_tool_call, exceeding operator limits on costly or side-effecting tools.

Mitigation

Fixed in 0.59.0 (the source states the affected versions are those before 0.59.0; no further mitigation is described).