CVE-2026-25580
Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling
CVSS Score
8.6
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-918 |
| Vendor | pydantic |
| Product | pydantic-ai |
| Published | Feb 6, 2026 |
| Last Updated | Jun 30, 2026 |
Stay Ahead of the Next One
Get instant alerts for pydantic pydantic-ai
Be the first to know when new high vulnerabilities affecting pydantic pydantic-ai are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
pydantic / pydantic-ai
>= 0.0.26, < 1.56.0
References
github.com: https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3 github.com: https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-25580 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2437781 security.access.redhat.com: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25580.json