CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in pydantic pydantic ai. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in pydantic-ai 2.53.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hpydantic-ai (PyPI): fixed in 2.53.0pydantic-ai-slim (PyPI): fixed in 2.53.0Explain CVE-2026-107286 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-107286?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-107286?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-107286 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pydantic:pydantic_ai | from 2.10.0 before 2.53.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6fqq-452j-qhrp | PyPI | pydantic-ai | >=2.10.0 <2.53.0 | 2.53.0 |
| GHSA-6fqq-452j-qhrp | PyPI | pydantic-ai-slim | >=2.10.0 <2.53.0 | 2.53.0 |
| PYSEC-2026-4276 | PyPI | pydantic-ai | >=2.10.0 <2.53.0 | 2.53.0 |
| PYSEC-2026-4285 | PyPI | pydantic-ai-slim | >=2.10.0 <2.53.0 | 2.53.0 |
Red Hat rates this Important.
An IMPORTANT severity denial-of-service flaw was found in pydantic-ai, a Python agent framework for building generative AI applications, which is shipped in Red Hat Enterprise Linux AI and Lightspeed Core. When streamed requests are processed through model-level concurrency limiting (ConcurrencyLimitedModel or limit_model_concurrency), shared concurrency slots acquired from anyio.CapacityLimiter can fail to be released when a stream is terminated early, cancelled, or encounters an exception, because the capacity limiter associates an acquired slot with the borrowing task while streaming cleanup can run in a different task. A remote attacker without authentication or user interaction can exploit this flaw by repeatedly initiating and abandoning streaming operations to permanently exhaust the shared concurrency capacity, preventing subsequent requests that share the long-lived limiter from being processed and causing a denial of service. Agent-level max_concurrency and non-streaming model requests are not affected. The Red Hat severity rating of IMPORTANT (CVSS 7.5) matches the upstream rating. Red Hat Enterprise Linux AI and Lightspeed Core ship the affected pydantic-ai package and are listed as affected, and fixes for these products are being pursued.
Applications using pydantic-ai can avoid this issue by not applying model-level concurrency limiting to streamed requests: configure concurrency limits through the agent-level max_concurrency setting or use non-streaming model requests, as those code paths are not affected. Where possible, upgrading to pydantic-ai 2.53.0 or later, which contains the upstream fix, is recommended. For Red Hat Enterprise Linux AI and Lightspeed Core, apply the updated containers and packages when they become available through the respective product releases.
| Product | Package | State | Advisory |
|---|---|---|---|
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gaudi-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/disk-image-cuda-rhel9 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-107286.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.