CVE-2026-133505
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.
Read full descriptionShow less
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.
Timeline
Built from our own data: NVD, CISA KEV and other exploitation catalogues, FIRST EPSS, public exploits, specialised media and Orbitaley coverage.
- CVE record published in NVD
- Record last modified in NVD
ATT&CK techniques
How this vulnerability is exploited and what the attacker gains, in MITRE ATT&CK terms.
- Exploitation
T1190Exploit Public-Facing Applicationinitial access90 % - Primary impact
T1090Proxycommand and control70 % - Secondary impact
T1530Data from Cloud Storagecollection60 %
Vector AV:N/PR:N/UI:N; el texto permite que la aplicación descargue URLs de su red local (SSRF) y lea objetos s3:// o archivos con sus credenciales, sin ejecución de comandos.
Inferred by our analysis agent from the official description, CVSS vector and CWE, and checked by a supervisor. May contain errors.
ATT&CK mitigations that cover these techniques
Affected technologies (1)
⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.
NVD record
- NVD status
- Awaiting Analysis
- Published
- Nov 20, 2026
- Last modified
- Nov 23, 2026
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weakness (CWE)
- CWE-843, CWE-918
References
Raw JSON (NVD)
Show
{
"id": "CVE-2026-133505",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-133505",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-20T17:18:02.957236Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "7cec5f2f-3032-4006-8740-31f605ffab5f",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.9,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 3.6,
"exploitabilityScore": 2.2
}
]
},
"affected": [
{
"source": "7cec5f2f-3032-4006-8740-31f605ffab5f",
"affectedData": [
{
"repo": "https://github.com/pydantic/pydantic-ai",
"vendor": "pydantic",
"product": "pydantic-ai",
"versions": [
{
"status": "affected",
"version": "1.50.0",
"versionType": "python",
"lessThanOrEqual": "1.107.9"
}
],
"packageName": "pydantic-ai",
"collectionURL": "https://pypi.org",
"defaultStatus": "unaffected"
},
{
"repo": "https://github.com/pydantic/pydantic-ai",
"vendor": "pydantic",
"product": "pydantic-ai",
"versions": [
{
"status": "affected",
"version": "2.0.0b1",
"versionType": "python",
"lessThanOrEqual": "2.65.0"
}
],
"packageName": "pydantic-ai",
"collectionURL": "https://pypi.org",
"defaultStatus": "unaffected"
},
{
"repo": "https://github.com/pydantic/pydantic-ai",
"vendor": "pydantic",
"product": "pydantic-ai-slim",
"versions": [
{
"status": "affected",
"version": "1.50.0",
"versionType": "python",
"lessThanOrEqual": "1.107.9"
}
],
"packageName": "pydantic-ai-slim",
"collectionURL": "https://pypi.org",
"defaultStatus": "unaffected"
},
{
"repo": "https://github.com/pydantic/pydantic-ai",
"vendor": "pydantic",
"product": "pydantic-ai-slim",
"versions": [
{
"status": "affected",
"version": "2.0.0b1",
"versionType": "python",
"lessThanOrEqual": "2.65.0"
}
],
"packageName": "pydantic-ai-slim",
"collectionURL": "https://pypi.org",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2026-11-20T08:18:33.637",
"references": [
{
"url": "https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-4cj4-hgwf-4hc4",
"source": "7cec5f2f-3032-4006-8740-31f605ffab5f"
},
{
"url": "https://pydantic.dev/docs/ai/ui/overview/#trust-model-for-client-submitted-messages",
"source": "7cec5f2f-3032-4006-8740-31f605ffab5f"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "7cec5f2f-3032-4006-8740-31f605ffab5f",
"description": [
{
"lang": "en",
"value": "CWE-843"
},
{
"lang": "en",
"value": "CWE-918"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-11-23T15:41:46.570",
"sourceIdentifier": "7cec5f2f-3032-4006-8740-31f605ffab5f"
}