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.
Metrics
Affected Vendors & Products
References
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
|
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
|
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
Updated: 2026-10-21T19:55:46.730Z
Status : Awaiting Analysis
Published: 2026-10-21T13:18:28.613
Modified: 2026-10-22T17:39:56.760
Link: CVE-2026-114386
No data.