{"cve":"CVE-2026-25580","nvd":{"published":"2026-02-06T21:16:17.167","modified":"2026-07-15T02:18:54.643","status":"Modified","description":"Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 0.0.26 to before 1.56.0, aServer-Side Request Forgery (SSRF) vulnerability exists in Pydantic AI's URL download functionality. When applications accept message history from untrusted sources, attackers can include malicious URLs that cause the server to make HTTP requests to internal network resources, potentially accessing internal services or cloud credentials. This vulnerability only affects applications that accept message history from external users. This vulnerability is fixed in 1.56.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6},"cwes":["CWE-918"],"references":["https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301","https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3","https://access.redhat.com/security/cve/CVE-2026-25580","https://bugzilla.redhat.com/show_bug.cgi?id=2437781","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25580.json"],"products":["pydantic:pydantic_ai"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2026-25580","score":0.00658,"percentile":0.51521,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2jrp-274c-jhv3","url":"https://osv.dev/vulnerability/GHSA-2jrp-274c-jhv3","summary":"Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling","modified":"2026-07-13T16:43:19.878999650Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai","purl":"pkg:pypi/pydantic-ai","ranges":[">=0.0.26 <1.56.0"],"fixed":["1.56.0"]},{"ecosystem":"PyPI","name":"pydantic-ai-slim","purl":"pkg:pypi/pydantic-ai-slim","ranges":[">=0.0.26 <1.56.0"],"fixed":["1.56.0"]}]},{"id":"PYSEC-2026-2976","url":"https://osv.dev/vulnerability/PYSEC-2026-2976","summary":"Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling","modified":"2026-07-13T16:43:19.878999650Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai","purl":"pkg:pypi/pydantic-ai","ranges":[">=0.0.26 <1.56.0"],"fixed":["1.56.0"]}]},{"id":"PYSEC-2026-2980","url":"https://osv.dev/vulnerability/PYSEC-2026-2980","summary":"Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling","modified":"2026-07-13T16:43:19.878999650Z","packages":[{"ecosystem":"PyPI","name":"pydantic-ai-slim","purl":"pkg:pypi/pydantic-ai-slim","ranges":[">=0.0.26 <1.56.0"],"fixed":["1.56.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}