CVE-2026-107286 json
Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends early
published 2026-10-08 32 d ago modified 2026-10-15 25 d ago also EUVD-2026-95039 , GHSA-6fqq-452j-qhrp , PYSEC-2026-4276 , PYSEC-2026-4285
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pydantic-ai 2.53.0
- pypi pydantic-ai-slim 2.53.0
- pydantic pydantic_ai 2.53.0
- pydantic pydantic_ai_slim 2.53.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-107286 updated cvss 7.5
pydantic-ai: pydantic-ai: Denial of Service via unreleased concurrency slots in streaming requests
-
Red Hat Lightspeed Core lightspeed-core/lightspeed-stack-rhel9 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9affected: workaround, no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pydantic-ai | >=2.10.0, <2.53.0 |
2.53.0 |
| pypi | pydantic-ai-slim | >=2.10.0, <2.53.0 |
2.53.0 |
Affected products
- pydantic pydantic-ai
- pydantic pydantic-ai-slim
Classification
- Weakness
-
- CWE-772 Missing Release of Resource after Effective Lifetime
References
-
github.com
/pydantic/pydantic-ai/pull/9478
web, patch, vendor-advisory
-
github.com
/pydantic/pydantic-ai/commit/453f19feeb7ab1d789f9393b1723c6a73b3d77b2
web, patch
-
github.com
/pydantic/pydantic-ai/releases/tag/v2.53.0
web, patch, release-notes, vendor-advisory
-
github.com
/pydantic/pydantic-ai/security/advisories/GHSA-6fqq-452j-qhrp
web, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-107286
advisory
-
github.com
/pydantic/pydantic-ai
package
-
pypi.org
/project/pydantic-ai
package
-
github.com
/advisories/GHSA-6fqq-452j-qhrp
advisory
-
pypi.org
/project/pydantic-ai-slim
package
Sources
- CVE List CVE-2026-107286
- GitHub Advisory GHSA-6fqq-452j-qhrp
- NVD CVE-2026-107286
- OSV PYSEC-2026-4276
- OSV PYSEC-2026-4285
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.