Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-133505

published medium CVSS 3.1 · 5.9

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

Published
20 Nov 2026, 07:34:58 UTC
Updated
20 Nov 2026, 17:18:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pydantic — pydantic-ai1.50.0 through 1.107.9 · Other versions: unaffected Affected Not stated Pydantic
pydantic — pydantic-ai2.0.0b1 through 2.65.0 · Other versions: unaffected Affected Not stated Pydantic
pydantic — pydantic-ai-slim1.50.0 through 1.107.9 · Other versions: unaffected Affected Not stated Pydantic
pydantic — pydantic-ai-slim2.0.0b1 through 2.65.0 · Other versions: unaffected Affected Not stated Pydantic

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.

en · Pydantic · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.9 / 10
Severity
medium
Provider
Pydantic · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pydantic pydantic-ai 1.50.0 through 1.107.9 (affected · python)Default: unaffected Pydantic · cna
pydantic pydantic-ai 2.0.0b1 through 2.65.0 (affected · python)Default: unaffected Pydantic · cna
pydantic pydantic-ai-slim 1.50.0 through 1.107.9 (affected · python)Default: unaffected Pydantic · cna
pydantic pydantic-ai-slim 2.0.0b1 through 2.65.0 (affected · python)Default: unaffected Pydantic · cna

Weaknesses

2
  • CWE-843 CWE-843: Access of Resource Using Incompatible Type (Pydantic · cna)
  • CWE-918 CWE-918: Server-Side Request Forgery (Pydantic · cna)

References

2

Provider assertions

2

Pydantic · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d4426dee00317abb2d7e466a308624e016c0c883316872fb4555160a2e1203c8
Ingested
20 Nov 2026, 17:21:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected