{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-133505",
        "assignerOrgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
        "state": "PUBLISHED",
        "assignerShortName": "Pydantic",
        "dateReserved": "2026-11-19T23:17:25.405Z",
        "datePublished": "2026-11-20T07:34:58.052Z",
        "dateUpdated": "2026-11-20T17:18:12.084Z"
    },
    "containers": {
        "cna": {
            "title": "Tool result data shaped like a file is rebuilt as a file download or provider file reference when message history is reloaded",
            "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."
                }
            ],
            "affected": [
                {
                    "vendor": "pydantic",
                    "product": "pydantic-ai",
                    "collectionURL": "https://pypi.org",
                    "packageName": "pydantic-ai",
                    "repo": "https://github.com/pydantic/pydantic-ai",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "1.50.0",
                            "lessThanOrEqual": "1.107.9",
                            "status": "affected",
                            "versionType": "python"
                        }
                    ]
                },
                {
                    "vendor": "pydantic",
                    "product": "pydantic-ai",
                    "collectionURL": "https://pypi.org",
                    "packageName": "pydantic-ai",
                    "repo": "https://github.com/pydantic/pydantic-ai",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "2.0.0b1",
                            "lessThanOrEqual": "2.65.0",
                            "status": "affected",
                            "versionType": "python"
                        }
                    ]
                },
                {
                    "vendor": "pydantic",
                    "product": "pydantic-ai-slim",
                    "collectionURL": "https://pypi.org",
                    "packageName": "pydantic-ai-slim",
                    "repo": "https://github.com/pydantic/pydantic-ai",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "1.50.0",
                            "lessThanOrEqual": "1.107.9",
                            "status": "affected",
                            "versionType": "python"
                        }
                    ]
                },
                {
                    "vendor": "pydantic",
                    "product": "pydantic-ai-slim",
                    "collectionURL": "https://pypi.org",
                    "packageName": "pydantic-ai-slim",
                    "repo": "https://github.com/pydantic/pydantic-ai",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "2.0.0b1",
                            "lessThanOrEqual": "2.65.0",
                            "status": "affected",
                            "versionType": "python"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "type": "CWE",
                            "cweId": "CWE-843",
                            "description": "CWE-843: Access of Resource Using Incompatible Type"
                        },
                        {
                            "lang": "en",
                            "type": "CWE",
                            "cweId": "CWE-918",
                            "description": "CWE-918: Server-Side Request Forgery"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-4cj4-hgwf-4hc4",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://pydantic.dev/docs/ai/ui/overview/#trust-model-for-client-submitted-messages"
                }
            ],
            "source": {
                "advisory": "GHSA-4cj4-hgwf-4hc4",
                "discovery": "UNKNOWN"
            },
            "providerMetadata": {
                "orgId": "7cec5f2f-3032-4006-8740-31f605ffab5f",
                "shortName": "Pydantic",
                "dateUpdated": "2026-11-20T07:34:58.052Z"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-20T17:18:02.957236Z",
                                "id": "CVE-2026-133505",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-20T17:18:12.084Z"
                }
            }
        ]
    }
}