Deserialization Vulnerability in Pydantic AI Products
CVE-2026-133505

5.9MEDIUM

Key Information:

Vendor

Pydantic

Vendor
CVE Published:
20 November 2026

What is CVE-2026-133505?

This vulnerability occurs when message history that is serialized can be manipulated to execute unauthorized actions. Specifically, if an external tool controlled by a third party returns data in a serialized JSON format, it can lead to an unsafe reconstruction, allowing the application to download harmful files from within its local network or access sensitive data stored in external systems, such as S3 buckets. This risk is particularly pertinent in environments where tool results are mixed with third-party data and retained in message history. The flaw primarily affects instances of Pydantic AI that do not appropriately sanitize or verify third-party inputs during deserialization.

Affected Version(s)

pydantic-ai 1.50.0 <= 1.107.9

pydantic-ai 2.0.0b1 <= 2.65.0

pydantic-ai-slim 1.50.0 <= 1.107.9

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.