1. Accueil
  2. Vulnérabilités
  3. CVE-2026-133505

CVE-2026-133505

Tool result data shaped like a file is rebuilt as a file download or provider file reference when message history is reloaded

Publiée le 20 nov. 2026 · modifiée le 23 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 38/100

Résumé

When message history is serialized and loaded again, a tool result that contains a JSON object in the serialized shape of one of Pydantic AI's file types is rebuilt as that file. A third party who controls data a tool returns, such as a record that an MCP server or a function tool returns from an external system, can use this to make the application download a URL on its local network, or make the model provider read an s3:// object or uploaded file with the application's credentials. Applications are affected when tool results can contain third-party data, message history containing those results is serialized and loaded again (stored history, history a UI adapter holds on the server, or Temporal, DBOS or Prefect durable execution), and the model is one Pydantic AI downloads files for, one that honors force_download, or one whose provider resolves non-HTTP file URLs or uploaded files. History that a client submits through the Vercel AI or AG-UI adapter in the default mode is not affected. The issue is fixed in pydantic-ai and pydantic-ai-slim 1.107.10 and 2.66.0.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Pydantic (4 ligne(s))
Pydantic
ProduitVersionsCorrigé dansSource
Pydantic ai de 1.50.0 (inclus) à 1.107.9 (inclus) — CNA (éditeur ou attributeur)
Pydantic ai de 2.0.0b1 (inclus) à 2.65.0 (inclus) — CNA (éditeur ou attributeur)
pydantic-ai-slim de 1.50.0 (inclus) à 1.107.9 (inclus) — CNA (éditeur ou attributeur)
pydantic-ai-slim de 2.0.0b1 (inclus) à 2.65.0 (inclus) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

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)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1, CNA:Pydantic)
Faiblesse
CWE-843 · Autre (CWE-843)

Comment sont obtenues et calculées ces données