- Accueil
- Vulnérabilités
- CVE-2026-107295
CVE-2026-107295
`pydantic-ai-slim` web UI `/api/chat` accepts browser-simple cross-origin requests that can trigger agent tool execution
Résumé
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing request content-type validation. A website visited by a developer can submit a browser-compatible request to a loopback-hosted chat server, causing the served agent to run and execute tools with the privileges and credentials of the local process; client-relayed approval decisions also leave requires_approval=True tools exposed. Binding to localhost does not prevent a browser page from reaching the loopback address. This issue is fixed in versions 1.107.4 and 2.28.0.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Pydantic (4 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 1.34.0 (inclus) à 1.107.4 (exclu) |
— | NVD |
| Pydantic ai | de 2.0.0 (inclus) à 2.28.0 (exclu) |
— | NVD |
Pypi (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| pydantic-ai | de 1.34.0 (inclus) à 1.107.4 (exclu) |
1.107.4 |
OSV |
| pydantic-ai | de 2.0.0b1 (inclus) à 2.28.0 (exclu) |
2.28.0 |
OSV |
| pydantic-ai | de 1.34.0 (inclus) à 1.107.4 (exclu) |
1.107.4 |
GitHub Advisory |
| pydantic-ai | de 2.0.0b1 (inclus) à 2.28.0 (exclu) |
2.28.0 |
GitHub Advisory |
| pydantic-ai-slim | de 1.34.0 (inclus) à 1.107.4 (exclu) |
1.107.4 |
OSV |
| pydantic-ai-slim | de 2.0.0b1 (inclus) à 2.28.0 (exclu) |
2.28.0 |
OSV |
| pydantic-ai-slim | de 1.34.0 (inclus) à 1.107.4 (exclu) |
1.107.4 |
GitHub Advisory |
| pydantic-ai-slim | de 2.0.0b1 (inclus) à 2.28.0 (exclu) |
2.28.0 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/pydantic-ai 1.107.4; PyPI/pydantic-ai 2.28.0; PyPI/pydantic-ai-slim 1.107.4; PyPI/pydantic-ai-slim 2.28.0source officielle
Source : OSV
Mise à jour — PyPI/pydantic-ai 1.107.4; PyPI/pydantic-ai 2.28.0; PyPI/pydantic-ai-slim 1.107.4; PyPI/pydantic-ai-slim 2.28.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 du CERT-FR (certfr:CERTFR-2026-AVI-1385)
Avis CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 oct. 2026
- PYSEC-2026-4278 — Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): a website visited by the developer can trigger agent runs and server-side tool execution on the local chat endpoint 15 oct. 2026
- PYSEC-2026-4287 — Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): a website visited by the developer can trigger agent runs and server-side tool execution on the local chat endpoint 15 oct. 2026
- GHSA-h4xc-3qfq-jf93 — Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): a website visited by the developer can trigger agent runs and server-side tool execution on the local chat endpoint 8 oct. 2026
Références
- https://github.com/pydantic/pydantic-ai/commit/d2690201a1834005d382dbf5c47e0ed94ef8bf46x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/dd2abbdfa029c9ad138e7cc0edd2eaeaf9ed69c0x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7382x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7383x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.4x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.28.0x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-h4xc-3qfq-jf93x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-aiPACKAGE
- https://pypi.org/project/pydantic-aiPACKAGE
- https://github.com/advisories/GHSA-h4xc-3qfq-jf93ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-107295ADVISORY
- https://pypi.org/project/pydantic-ai-slimPACKAGE
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:R/S:U/C:L/I:H/A:L(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-352 · Requête côté serveur (SSRF) / CSRF