Live threats

All CVEs / Pydantic

CVE-2026-107286Pydantic Ai

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Oct 8, 2026
Updated
Oct 13, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-772
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pydantic Ai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pydantic-ai ≥ 2.10.0 < 2.53.0 2.53.0 pip install "pydantic-ai>=2.53.0"
PyPI pydantic-ai ≥ 2.10.0 < 2.53.0 2.53.0 pip install "pydantic-ai>=2.53.0"
PyPI pydantic-ai-slim ≥ 2.10.0 < 2.53.0 2.53.0 pip install "pydantic-ai-slim>=2.53.0"
PyPI pydantic-ai-slim ≥ 2.10.0 < 2.53.0 2.53.0 pip install "pydantic-ai-slim>=2.53.0"

Per OSV / GitHub Advisories (GHSA-6fqq-452j-qhrp, PYSEC-2026-4276, PYSEC-2026-4285). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pydanticpydantic_ai≥ 2.10.0 < 2.53.0

Official sources

References

Links published by the sources. Open them with care.