CVE-2026-107286
Last modified
CVE-2026-107286 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic-ai | >= 2.10.0, < 2.53.0 |
| pydantic | pydantic-ai-slim | >= 2.10.0, < 2.53.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-107286?
How severe is CVE-2026-107286?
How do I fix CVE-2026-107286?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-107280The AsyncHttpClient (AHC) library allows Java applications t…6.9
- CVE-2026-107281The AsyncHttpClient (AHC) library allows Java applications t…7.6
- CVE-2026-107282The AsyncHttpClient (AHC) library allows Java applications t…9.4
- CVE-2026-107283The AsyncHttpClient (AHC) library allows Java applications t…3.7
- CVE-2026-107284The AsyncHttpClient (AHC) library allows Java applications t…3.7
- CVE-2026-107285The AsyncHttpClient (AHC) library allows Java applications t…5.9
- CVE-2026-107287Pydantic AI is a Python agent framework for building applica…6.5
- CVE-2026-107288Pydantic AI is a Python agent framework for building applica…3.7
- CVE-2026-107289Pydantic AI is a Python agent framework for building applica…6.8
- CVE-2026-10729An HTML injection vulnerability in the notification email fo…1.2
- CVE-2026-107290Pydantic AI is a Python agent framework for building applica…6.5
- CVE-2026-107291Pydantic AI is a Python agent framework for building applica…2.3
Are you affected by CVE-2026-107286?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
