CVE-2026-25580
published high CVSS 3.1 · 8.6Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pydantic | — | pydantic-ai>= 0.0.26, < 1.56.0 | Affected | Not stated | GitHub_M |
| Red Hat | — | rhelai3/bootc-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhelai3/disk-image-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat-SADP |
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.
A flaw was found in Pydantic AI. This Server-Side Request Forgery (SSRF) vulnerability allows a remote attacker to include malicious URLs within untrusted message history. When processed by the application, these URLs can force the server to make unauthorized HTTP requests to internal network resources. This could lead to the disclosure of sensitive internal information or access to cloud credentials.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.6 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pydantic | pydantic-ai | >= 0.0.26, < 1.56.0 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
- CWE-918 Server-Side Request Forgery (SSRF)
References
5- https://access.redhat.com/security/cve/CVE-2026-25580
- RHBZ#2437781 https://bugzilla.redhat.com/show_bug.cgi?id=2437781
- https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25580.json
Provider assertions
3GitHub_M · cna
Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling
redhat-SADP · adp
Pydantic AI: Pydantic AI: Information disclosure via Server-Side Request Forgery (SSRF) through malicious URLs in message history.
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ede76d27966a80858c9a731bcdd6e9f31f5402508bc0e7418e3bfbc4d83d5fb
- Ingested
- 23 Sep 2026, 09:06:52 UTC
- Source record
- Official CVE record