1. Accueil
  2. Vulnérabilités
  3. 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

Publiée le 8 oct. 2026 · modifiée le 14 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 30/100

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))
Pydantic
ProduitVersionsCorrigé dansSource
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))
Pypi
ProduitVersionsCorrigé dansSource
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

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)

Avis CERT-FR

Références

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)

Comment sont obtenues et calculées ces données