{"id":"CVE-2026-114386","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-114386","generatedAt":"2026-10-28T00:05:24.148Z","title":"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.","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.","published":"2026-10-21T13:18:29.000Z","lastModified":"2026-10-22T17:39:57.000Z","status":"Awaiting Analysis","sourceIdentifier":"disclosure@vulncheck.com","cvss":{"version":"4.0","score":6.3,"severity":"MEDIUM","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-770"],"affected":[],"epss":{"score":0.00346,"percentile":0.27962,"date":"2026-10-26","history":[{"date":"2026-10-22","score":0.00346,"percentile":0.26909}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.35%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-21T13:18:29.000Z","detail":{"score":"6.3","severity":"MEDIUM","publishedAt":"2026-10-21T13:18:28.613Z"},"summary":"New CVE, medium severity (CVSS 6.3)."}],"references":[{"url":"https://github.com/pydantic/pydantic-ai/blob/v2.58.0/src/pydantic_ai_harness/pydantic_ai_harness/code_mode/_toolset.py#L642-L680","source":"disclosure@vulncheck.com"},{"url":"https://github.com/pydantic/pydantic-ai/commit/eb27b2b89fe76ae23ee9b6fc9eb4b227a4967949","source":"disclosure@vulncheck.com"},{"url":"https://github.com/pydantic/pydantic-ai/pull/10362","source":"disclosure@vulncheck.com"},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.59.0","source":"disclosure@vulncheck.com"},{"url":"https://pypi.org/project/pydantic-ai-harness/0.59.0/","source":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/pydantic-ai-harness-before-0.59.0-codemode-tool-call-limit-bypass-via-run-code","source":"disclosure@vulncheck.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-114386","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}