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.
History

Thu, 22 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Pydantic
Pydantic pydantic-ai
Vendors & Products Pydantic
Pydantic pydantic-ai

Wed, 21 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 13:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Pydantic AI Harness before 0.59.0 CodeMode Tool Call Limit Bypass via run_code
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'}

cvssV4_0

{'score': 6.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-10-21T12:39:43.886Z

Updated: 2026-10-21T19:55:49.371Z

Reserved: 2026-10-21T11:46:40.374Z

Link: CVE-2026-114386

cve-icon Vulnrichment

Updated: 2026-10-21T19:55:46.730Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T13:18:28.613

Modified: 2026-10-22T17:39:56.760

Link: CVE-2026-114386

cve-icon Redhat

No data.