Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Pydantic | Pydantic Ai | >= 0.0.26, < 1.56.0 |
Related Weaknesses (CWE)
References
- https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5ccPatch
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3ExploitMitigationVendor Advisory
FAQ
What is CVE-2026-25580?
CVE-2026-25580 is a vulnerability with a CVSS score of 8.6 (HIGH). 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 A...
How severe is CVE-2026-25580?
CVE-2026-25580 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-25580?
Check the references section above for vendor advisories and patch information. Affected products include: Pydantic Pydantic Ai.