CVE-2026-114386: pydantic-ai-harness · Unthrottled Resource Allocation
Affects pydantic-ai-harnessSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 0.59.0 when convenient.
Data as of 5 Dec 2026, 18:46 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.59.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:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade pydantic-ai-harness to 0.59.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pydanticpydantic-ai-harness | Affected
| Fixed in
|
PyPIpydantic-ai-harnesspkg:pypi/pydantic-ai-harnessOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in pydantic-ai-harness version 0.59.0. Users should upgrade to version 0.59.0 or later to ensure that UsageLimits.tool_calls_limit is properly enforced on nested tool calls. No additional mitigation is required beyond applying the official patch.
Description
CVE-2026-114386 is a vulnerability in pydantic-ai-harness versions before 0.59.0 where nested tool calls dispatched from run_code in the CodeMode toolset do not enforce the UsageLimits.tool_calls_limit. This allows users or prompt-injected content to invoke tools repeatedly via run_nested_call() without proper checks, potentially exceeding operator limits on costly or side-effecting tools.
References
- github.com/pydantic/pydantic-ai/pull/10362 (opens in a new tab)
- github.com/pydantic/pydantic-ai/commit/eb27b2b89fe76ae23ee9b6fc9eb4b227a4967949 (opens in a new tab)
- github.com/pydantic/pydantic-ai/releases/tag/v2.59.0 (opens in a new tab)
- github.com/pydantic/pydantic-ai/blob/v2.58.0/src/pydantic_ai_harness/pydantic_ai_harness/code_mode/_toolset.py (opens in a new tab)
- pypi.org/project/pydantic-ai-harness/0.59.0/ (opens in a new tab)
- vulncheck.com/advisories/pydantic-ai-harness-before-0.59.0-codemode-tool-call-limit-bypass-via-run-code (opens in a new tab)