CVE-2026-25580 json
Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling
published 2026-02-06 9 mo ago modified 2026-07-15 3 mo ago also GHSA-2jrp-274c-jhv3 , PYSEC-2026-2976 , PYSEC-2026-2980 , EUVD-2026-5574
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pydantic-ai 1.56.0
- pypi pydantic-ai-slim 1.56.0
- pydantic pydantic_ai 1.56.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-25580 updated cvss 8.6
Pydantic AI: Pydantic AI: Information disclosure via Server-Side Request Forgery (SSRF) through malicious URLs in message history.
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/disk-image-cuda-rhel9affected: workaround, no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| CISA ADP | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| OSV | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pydantic-ai | >=0.0.26, <1.56.0 |
1.56.0 |
| pypi | pydantic-ai-slim | >=0.0.26, <1.56.0 |
1.56.0 |
Affected products
- pydantic pydantic-ai
- Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301
web, patch
-
github.com
/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3
web, exploit, mitigation, vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-25580
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2437781
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-25580.json
-
nvd.nist.gov
/vuln/detail/CVE-2026-25580
advisory
-
github.com
/pydantic/pydantic-ai
package
-
pypi.org
/project/pydantic-ai-slim
package
-
github.com
/advisories/GHSA-2jrp-274c-jhv3
advisory
-
pypi.org
/project/pydantic-ai
package
Sources
- CVE List CVE-2026-25580
- GitHub Advisory GHSA-2jrp-274c-jhv3
- NVD CVE-2026-25580
- OSV PYSEC-2026-2980
- OSV PYSEC-2026-2976
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.