{"data":{"id":"14bbb34f-e88d-41f9-a80e-ecc0addd78f8","title":"CVE-2026-133505: When message history is serialized and loaded again, a tool result that contains a JSON object in the serialized shape…","summary":"CVE-2026-133505 affects Pydantic AI. When message history is serialized and loaded again, a tool result containing a JSON object in the serialized shape of one of Pydantic AI's file types is rebuilt as that file. A third party controlling data returned by a tool, such as from an MCP server or function tool, can make the application download a URL on its local network, or make the model provider read an s3:// object or uploaded file using the application's credentials. Applications are affected when tool results can contain third-party data and the affected history is serialized and loaded again, including through Temporal, DBOS or Prefect durable execution; history submitted through the Vercel AI or AG-UI adapter in default mode is not affected.","solution":"The issue is fixed in pydantic-ai and pydantic-ai-slim 1.107.10 and 2.66.0.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-133505","publishedAt":"2026-11-20T08:18:33.637Z","cveId":"CVE-2026-133505","cweIds":["CWE-843","CWE-918"],"cvssScore":"5.9","cvssSeverity":"medium","severity":"medium","attackType":["rag_poisoning","other"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["Pydantic AI","MCP server","Temporal","DBOS","Prefect","Vercel AI","AG-UI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Pydantic AI tool results become file downloads on history reload","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"network","attackComplexity":"high","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.00575,"epssCheckedAt":"2026-11-21T06:08:50.674Z","kevDateAdded":null,"advisoryAliases":["GHSA-jvv4-fh7q-4c38"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-11-20T12:10:00.303Z","patchAvailable":null,"disclosureDate":"2026-11-20T08:18:33.637Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-664"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0070"],"fixes":[]}}