- Accueil
- Vulnérabilités
- CVE-2026-107292
CVE-2026-107292
Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header
Résumé
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 until 2.30.0, the Agent.to_web() and clai web development chat server does not validate the Host header, allowing a website visited by a developer to use DNS rebinding to reach a loopback-hosted agent as a same-origin service. The hostile page can read the served UI and submit chat requests that execute agent tools with the local process's privileges and credentials, causing data disclosure or unwanted side effects. Binding to localhost, Origin checks, and CSRF tokens do not prevent the same-origin DNS rebinding path. This issue is fixed in versions 1.107.5 and 2.30.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.5 (exclu) |
— | NVD |
| Pydantic ai | de 2.0.0 (inclus) à 2.30.0 (exclu) |
— | NVD |
Pypi (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| pydantic-ai | de 1.34.0 (inclus) à 1.107.5 (exclu) |
1.107.5 |
OSV |
| pydantic-ai | de 2.0.0b1 (inclus) à 2.30.0 (exclu) |
2.30.0 |
OSV |
| pydantic-ai | de 1.34.0 (inclus) à 1.107.5 (exclu) |
1.107.5 |
GitHub Advisory |
| pydantic-ai | de 2.0.0b1 (inclus) à 2.30.0 (exclu) |
2.30.0 |
GitHub Advisory |
| pydantic-ai-slim | de 1.34.0 (inclus) à 1.107.5 (exclu) |
1.107.5 |
OSV |
| pydantic-ai-slim | de 2.0.0b1 (inclus) à 2.30.0 (exclu) |
2.30.0 |
OSV |
| pydantic-ai-slim | de 1.34.0 (inclus) à 1.107.5 (exclu) |
1.107.5 |
GitHub Advisory |
| pydantic-ai-slim | de 2.0.0b1 (inclus) à 2.30.0 (exclu) |
2.30.0 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/pydantic-ai-slim 1.107.5; PyPI/pydantic-ai-slim 2.30.0; PyPI/pydantic-ai 1.107.5; PyPI/pydantic-ai 2.30.0source officielle
Source : OSV
Mise à jour — PyPI/pydantic-ai 1.107.5; PyPI/pydantic-ai 2.30.0; PyPI/pydantic-ai-slim 1.107.5; PyPI/pydantic-ai-slim 2.30.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-4279 — Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header 15 oct. 2026
- PYSEC-2026-4288 — Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header 15 oct. 2026
- GHSA-q2xc-rrxj-58x9 — Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): the local chat endpoint does not validate the `Host` header 8 oct. 2026
Références
- https://github.com/pydantic/pydantic-ai/commit/394cc1d31656620704a703a2daed752afa5135fex_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/871c7aeec5dfed2138655ccbccbf15c6d763bae7x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7437x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7438x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.5x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-q2xc-rrxj-58x9x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-aiPACKAGE
- https://pypi.org/project/pydantic-ai-slimPACKAGE
- https://github.com/advisories/GHSA-q2xc-rrxj-58x9ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-107292ADVISORY
- 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)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-346 · Autre (CWE-346)