CVE-2026-133505
Last modified
CVE-2026-133505 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.70% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pydantic | pydantic-ai | >= 1.50.0, <= 1.107.9 |
| pydantic | pydantic-ai | >= 2.0.0b1, <= 2.65.0 |
| pydantic | pydantic-ai-slim | >= 1.50.0, <= 1.107.9 |
| pydantic | pydantic-ai-slim | >= 2.0.0b1, <= 2.65.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-133505?
How severe is CVE-2026-133505?
How do I fix CVE-2026-133505?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1335An Out-Of-Bounds Write vulnerability affecting the EPRT file…7.8
- CVE-2026-13350Permissions where checked incorrectly during room creation, …2.3
- CVE-2026-133500A vulnerability was identified in Gladys Assistant up to 4.7…9.1
- CVE-2026-133501A security flaw has been discovered in Gladys Assistant up t…9
- CVE-2026-133502A weakness has been identified in blinkospace blinko up to 1…7.3
- CVE-2026-133503A security vulnerability has been detected in ModelCloud GPT…6.3
- CVE-2026-13351Zephyr's IPv6 network stack can be prevented from receiving …7.5
- CVE-2026-133519FFmpeg 7.0 through 9.0.2 contains an out-of-bounds read vuln…5.5
- CVE-2026-13352The Paid Membership Plugin, Ecommerce, User Registration For…8.8
- CVE-2026-133520Dokploy 0.28.0 before 0.31.1 contains a path traversal vulne…5
- CVE-2026-133521Bar Assistant 3.0.0 before 6.11.0 contains an authorization …5.4
- CVE-2026-133528BeamNG.drive before 0.40.6 contains an out-of-bounds write v…8.6
Are you affected by CVE-2026-133505?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
