{"id":"CVE-2026-107286","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-107286","generatedAt":"2026-10-28T01:02:53.781Z","title":"Early stream termination, cancellation, consumer exceptions, or complete stream_text() consumption with debounce_by=0.1 can therefore leave capacity occupied, eventually preventing later requests that share the long-lived limiter from proceeding and…","description":"Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 2.10.0 until 2.53.0, streamed requests made through ConcurrencyLimitedModel or limit_model_concurrency can retain shared concurrency slots because anyio.CapacityLimiter associates an acquired slot with the borrowing task while streaming cleanup can run in a different task. Early stream termination, cancellation, consumer exceptions, or complete stream_text() consumption with debounce_by=0.1 can therefore leave capacity occupied, eventually preventing later requests that share the long-lived limiter from proceeding and causing a denial of service. Agent-level max_concurrency and non-streaming model requests are not affected. This issue is fixed in version 2.53.0.","published":"2026-10-08T15:17:41.000Z","lastModified":"2026-10-13T14:36:52.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-772"],"affected":["pydantic/pydantic ai"],"epss":{"score":0.0045,"percentile":0.3883,"date":"2026-10-26","history":[{"date":"2026-10-09","score":0.0045,"percentile":0.37123}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.45%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-08T15:17:41.000Z","detail":{"score":"7.5","severity":"HIGH","publishedAt":"2026-10-08T15:17:40.753Z"},"summary":"New CVE, high severity (CVSS 7.5)."}],"references":[{"url":"https://github.com/pydantic/pydantic-ai/commit/453f19feeb7ab1d789f9393b1723c6a73b3d77b2","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/pull/9478","tags":["Patch","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.53.0","tags":["Patch","Release Notes","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-6fqq-452j-qhrp","tags":["Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107286","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."}