- Accueil
- Vulnérabilités
- CVE-2026-107286
CVE-2026-107286
Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends early
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Pydantic (3 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Pydantic ai | Versions non précisées | — | CNA (éditeur ou attributeur) |
| pydantic-ai-slim | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Pydantic ai | de 2.10.0 (inclus) à 2.53.0 (exclu) |
— | NVD |
Pypi (4 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| pydantic-ai | de 2.10.0 (inclus) à 2.53.0 (exclu) |
2.53.0 |
OSV |
| pydantic-ai | de 2.10.0 (inclus) à 2.53.0 (exclu) |
2.53.0 |
GitHub Advisory |
| pydantic-ai-slim | de 2.10.0 (inclus) à 2.53.0 (exclu) |
2.53.0 |
OSV |
| pydantic-ai-slim | de 2.10.0 (inclus) à 2.53.0 (exclu) |
2.53.0 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/pydantic-ai-slim 2.53.0; PyPI/pydantic-ai 2.53.0source officielle
Source : OSV
Mise à jour — PyPI/pydantic-ai 2.53.0; PyPI/pydantic-ai-slim 2.53.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- PYSEC-2026-4285 — Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends early 15 oct. 2026
- PYSEC-2026-4276 — Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends early 15 oct. 2026
- GHSA-6fqq-452j-qhrp — Pydantic AI: Concurrency-limited models can keep their slot when a streamed request ends early 8 oct. 2026
Références
- https://github.com/pydantic/pydantic-ai/commit/453f19feeb7ab1d789f9393b1723c6a73b3d77b2x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/9478x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.53.0x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-6fqq-452j-qhrpx_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-107286ADVISORY
- https://github.com/pydantic/pydantic-aiPACKAGE
- https://pypi.org/project/pydantic-ai-slimPACKAGE
- https://github.com/advisories/GHSA-6fqq-452j-qhrpADVISORY
- https://pypi.org/project/pydantic-aiPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-772 · Autre (CWE-772)