{"id":"CVE-2026-107286","sourceIdentifier":"security-advisories@github.com","published":"2026-10-08T15:17:40.753","lastModified":"2026-10-13T14:36:51.687","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"pydantic","product":"pydantic-ai","versions":[{"version":">= 2.10.0, < 2.53.0","status":"affected"}]},{"vendor":"pydantic","product":"pydantic-ai-slim","versions":[{"version":">= 2.10.0, < 2.53.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-08T17:26:50.651820Z","id":"CVE-2026-107286","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-772"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pydantic:pydantic_ai:*:-:*:*:*:python:*:*","versionStartIncluding":"2.10.0","versionEndExcluding":"2.53.0","matchCriteriaId":"6A10FF61-78E8-4427-85E4-B63DE2C32EB2"}]}]}],"references":[{"url":"https://github.com/pydantic/pydantic-ai/commit/453f19feeb7ab1d789f9393b1723c6a73b3d77b2","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/9478","source":"security-advisories@github.com","tags":["Patch","Vendor Advisory"]},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.53.0","source":"security-advisories@github.com","tags":["Patch","Release Notes","Vendor Advisory"]},{"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-6fqq-452j-qhrp","source":"security-advisories@github.com","tags":["Mitigation","Vendor Advisory"]}]}