CVE-2026-114386
MEDIUM4.8CVSS v3
—CVSS v2
0.35%
EPSS (exploit probability)
CWE-770CWE
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.
CVSS v3 vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Affected routers (0)
No routers currently mapped to this CVE in our database.