CVE-2026-133505

medium
EUVD alias: EUVD-2026-131095
Published 2026-11-20 · Modified 2026-11-23
CVSS v3
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4 NEW
—
not yet in upstream
VIR risk
5.9

Description

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.

Predictions

Exploit likelihood
69%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Application impact

VendorProductVersionsFixed
pydanticpydantic-ai{"startIncluding":"1.50.0","endIncluding":"1.107.9"}
pydanticpydantic-ai{"startIncluding":"2.0.0b1","endIncluding":"2.65.0"}
pydanticpydantic-ai-slim{"startIncluding":"1.50.0","endIncluding":"1.107.9"}
pydanticpydantic-ai-slim{"startIncluding":"2.0.0b1","endIncluding":"2.65.0"}

References

CWEs

CWE-843 CWE-918

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.