Skip to main content
← All vulnerabilities
CVE-2026-114386GHSA-3589-PXP7-3GJ8

Pydantic AI Harness before 0.59.0 CodeMode Tool Call Limit Bypass via run_code

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.59.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Pydantic AI Harness before 0.59.0 fails to 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated
  4. First seen by cve.now

Affected versions

  • pydantic pydantic-ai-harness

    fixed in 0.59.0

  • pydantic-ai-harnessPyPI

    fixed in 0.59.0

References 6

GitHub · pydantic/pydantic-ai

pypi.org

vulncheck.com