Home / pydantic / pydantic-ai / CVE-2026-25580
CVE-2026-25580: is it exploited, and which versions of pydantic-ai are affected and fixed?
CVE-2026-25580 is a server-side request forgery (SSRF) vulnerability in pydantic-ai. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: pydantic-ai from 0.0.26 before 1.56.0 and pydantic-ai-slim from 0.0.26 before 1.56.0 (GitHub advisory GHSA-2jrp-274c-jhv3). Fixed in 1.56.0 (GitHub advisory GHSA-2jrp-274c-jhv3). Severity: High (8.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-25580?
Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling
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.
From the CVE record by GitHub_M, last updated July 15, 2026, 01:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pydantic | pydantic-ai | >= 0.0.26, < 1.56.0 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pydantic-ai | >= 0.0.26, < 1.56.0 | 1.56.0 | GHSA-2jrp-274c-jhv3 |
| PyPI | pydantic-ai-slim | >= 0.0.26, < 1.56.0 | 1.56.0 | GHSA-2jrp-274c-jhv3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 6, 2026. Summary: Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pydantic | pydantic ai | from 0.0.26 before 1.56.0 | application |
NVD analysis (status Modified), last modified July 15, 2026, 02:18 UTC.
How severe is CVE-2026-25580?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-25580 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, February 9, 2026)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-918 Server-Side Request Forgery
Where are the vendor advisories and references?
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3 x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-25580 vdb-entry, x_refsource_REDHAT
- RHBZ#2437781 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25580.json x_sadp-csaf-vex
When was it published, and where is the official record?
- Reserved
- February 3, 2026
- Published
- February 6, 2026, 21:01 UTC
- CVE record updated
- July 15, 2026, 01:16 UTC by GitHub_M
- NVD
- Modified, last modified July 15, 2026, 02:18 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect pydantic-ai?
- Nov 20, 2026CVE-2026-133505 pydantic-ai: type confusion
- Oct 8, 2026CVE-2026-107295 pydantic-ai: cross-site request forgery (CSRF)
- Oct 8, 2026CVE-2026-107294 pydantic-ai: denial of service (uncontrolled resource consumption)
- Oct 8, 2026CVE-2026-107293 pydantic-ai: improper Removal of Sensitive Information Before Storage or Transfer
- Oct 8, 2026CVE-2026-107292 pydantic-ai: origin not validated
- Oct 8, 2026CVE-2026-107291 pydantic-ai: improper Removal of Sensitive Information Before Storage or Transfer
- Oct 8, 2026CVE-2026-107290 pydantic-ai: regular expression denial of service (ReDoS)
- Oct 8, 2026CVE-2026-107289 pydantic-ai: server-side request forgery (SSRF)
Questions about CVE-2026-25580
Is CVE-2026-25580 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of pydantic-ai are affected by CVE-2026-25580?
pydantic-ai from 0.0.26 before 1.56.0 and pydantic-ai-slim from 0.0.26 before 1.56.0, per the GitHub advisory GHSA-2jrp-274c-jhv3. The tables above give every range the sources list.
Which version fixes CVE-2026-25580?
1.56.0, per the GitHub advisory GHSA-2jrp-274c-jhv3. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-25580?
High (8.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-25580?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.