Bug 2548010 (CVE-2026-107286) - CVE-2026-107286 pydantic-ai: pydantic-ai: Denial of Service via unreleased concurrency slots in streaming requests
Summary: CVE-2026-107286 pydantic-ai: pydantic-ai: Denial of Service via unreleased co...
Keywords:
Status: NEW
Alias: CVE-2026-107286
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-08 15:27 UTC by OSIDB Bzimport
Modified: 2026-10-15 22:08 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-08 15:27:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.