2 matches found
CVE-2026-133505
The pydantic-ai and pydantic-ai-slim libraries are vulnerable to a security issue where serializing and reloading message history can cause tool results to be incorrectly rebuilt as file downloads or provider file references. If a third party controls the data returned by a tool (e.g., via an MCP...
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...