Skip to main content
CVE Radar
mediumMemory Corruption

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

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.

Published Updated Sources: NVD, pydantic (CNA), GitHub, SOCRadar CTI

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Unreported

no source claims exploitation

EPSS

0%

ahead of 0% of scored CVEs

Affects

Pydantic

4 products listed

CVSS base

5.9

medium

Remediation

The vendor's own words where we have them.

Upgrade Pydantic-ai to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Prioritize based on EPSS, PoC availability, and external exposure.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

Affected vendors, products and versions
VendorProductVersionsStatus
Pydanticpydantic-ai1.50.0 to <= 1.107.9Vulnerable
Pydanticpydantic-ai2.0.0b1 to <= 2.65.0Vulnerable
Pydanticpydantic-ai-slim1.50.0 to <= 1.107.9Vulnerable
Pydanticpydantic-ai-slim2.0.0b1 to <= 2.65.0Vulnerable

Attack characteristics

The CVSS vector, decoded. It describes the attack, not your exposure to it.

Availability

None

Confidentiality

High

Integrity

None

Scope

Unchanged

Attack Complexity

High

Attack Vector

Network

Privileges Req

None

User Interaction

None

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
5.9CVSS 3.1medium2.23.6CNA, pydantic (CNA)

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What this weakness leads to

MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.

MITRE

CWE-918 · Server-Side Request Forgery (SSRF)

  • Read Application Data
  • Execute Unauthorized Code or Commands::

CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')

  • Read Memory
  • Modify Memory
  • Execute Unauthorized Code or Commands
  • DoS: Crash, Exit, or Restart

Weakness & attack patterns

  • CWE-843Type Confusion
  • CWE-918Server-Side Request Forgery (SSRF)

Inferred from the weakness class — not observed against this CVE.

CAPEC-100 · Overflow BuffersCAPEC-123 · Buffer Manipulation

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Search application, proxy, and WAF logs for requests touching //.
  • Prioritize edge telemetry for network-reachable Pydantic-ai, Pydantic-ai-slim.
web/proxy/WAF logsapplication logsnetwork IDS/IPS

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Added · CVSS 3.1 5.9 (AV:N)

    Nov 20, 2026 · NVD

  3. Initial · CVE published

    Nov 20, 2026 · NVD

  4. CVE published by MITRE.

    Nov 20, 2026 · SOCRadar CTI

Source activity

Readings a source repeats on a schedule, counted rather than listed.

  • 1×2 times mentioned on 1 Telegram channelsNov 20, 2026 · SOCRadar CTI

References

2 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2026-133505 is Tool result data shaped like a file is rebuilt as a file download or provider file reference when message history is reloaded, a medium vulnerability affecting Pydantic-ai, Pydantic-ai-slim from Pydantic. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-133505. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-133505. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 5.9 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.