{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-133505 in the wild and no public exploit code.","exposure":"","fix":"No fix has been published for CVE-2026-133505 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-133505 is a medium-severity vulnerability in pydantic-ai, published on 20 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-133505 and fix it if it is affected.\n\nWhat it is: CVE-2026-133505 is a medium-severity vulnerability in pydantic-ai, published on 20 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-133505 in the wild and no public exploit code.\n\nAffected product: pydantic-ai. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-133505/ (Markdown: https://insights.sbomify.com/CVE-2026-133505/index.md)","id":"CVE-2026-133505","markdown":"https://insights.sbomify.com/CVE-2026-133505/index.md","name":"CVE-2026-133505","record":{"aliases":["GHSA-4cj4-hgwf-4hc4","GHSA-jvv4-fh7q-4c38"],"analysis":null,"analysis_generated_by":null,"assigner":"Pydantic","component":null,"cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"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","id":"CVE-2026-133505","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":2,"n_vendor_status":0,"next":{"headline":"FFmpeg 7.0 through 9.0.2 Out-of-Bounds Read via dvdvideo_menu_next_ps_block()","id":"CVE-2026-133519"},"nickname":null,"packages":[],"prev":{"headline":"ModelCloud GPTQModel Adapter Resolution Pipeline remote.py gptqmodel.adapter.remote.resolve_path input validation","id":"CVE-2026-133503"},"products":["pydantic-ai","pydantic-ai-slim"],"published":"2026-11-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-20","vendor_status":[],"vendors":["pydantic"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-133505/"}