5.9
CVE-2026-133505
- EPSS 0.7%
- Veröffentlicht 20.11.2026 07:34:58
- Zuletzt bearbeitet 23.11.2026 15:41:46
- Erkennungen
Tool result data shaped like a file is rebuilt as a file download or provider file reference when message history is reloaded
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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
Herstellerpydantic
≫
Produkt
pydantic-ai
Default Statusunaffected
Version <=
1.107.9
Version
1.50.0
Status
affected
Herstellerpydantic
≫
Produkt
pydantic-ai
Default Statusunaffected
Version <=
2.65.0
Version
2.0.0b1
Status
affected
Herstellerpydantic
≫
Produkt
pydantic-ai-slim
Default Statusunaffected
Version <=
1.107.9
Version
1.50.0
Status
affected
Herstellerpydantic
≫
Produkt
pydantic-ai-slim
Default Statusunaffected
Version <=
2.65.0
Version
2.0.0b1
Status
affected
VulnDex Vulnerability Enrichment
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.7% | 0.541 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|---|---|---|---|
| 7cec5f2f-3032-4006-8740-31f605ffab5f | 5.9 | 2.2 | 3.6 |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
|
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
CWE-918 Server-Side Request Forgery (SSRF)
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-4cj4-hgwf-4hc4
https://pydantic.dev/docs/ai/ui/overview/#trust-model-for-client-submitted-messages