# CVE-2026-25580: Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-06T18:32:39.000Z
- Modified: 2026-07-15T02:18:54.643Z
- Also known as: GHSA-2jrp-274c-jhv3, PYSEC-2026-2976, PYSEC-2026-2980
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pydantic pydantic-ai: >= 0.0.26, < 1.56.0
- rhelai3/bootc-cuda-rhel9: no versions given
- rhelai3/disk-image-cuda-rhel9: no versions given
- pydantic-ai (PyPI): from 0.0.26 before 1.56.0
- pydantic-ai-slim (PyPI): from 0.0.26 before 1.56.0
- pydantic pydantic_ai: from 0.0.26 before 1.56.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- redhat-SADP: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301> (patch, web)
- <https://access.redhat.com/security/cve/CVE-2026-25580> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2437781> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25580.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25580> (advisory)
- <https://github.com/pydantic/pydantic-ai> (package)
- <https://pypi.org/project/pydantic-ai> (package)
- <https://github.com/advisories/GHSA-2jrp-274c-jhv3> (advisory)
- <https://pypi.org/project/pydantic-ai-slim> (package)

## Sources

- CVE List: [CVE-2026-25580](https://www.cve.org/CVERecord?id=CVE-2026-25580), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-2jrp-274c-jhv3](https://github.com/advisories/GHSA-2jrp-274c-jhv3), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-25580](https://nvd.nist.gov/vuln/detail/CVE-2026-25580), Public domain, modified 2026-07-15
- PyPA Advisory Database: [PYSEC-2026-2976](https://osv.dev/vulnerability/PYSEC-2026-2976), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2980](https://osv.dev/vulnerability/PYSEC-2026-2980), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-25580 · Whole record: https://cve.day/CVE-2026-25580.json · Rebuilt by cve.day 2026-11-25T22:59:13.576Z
