8.6

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

Modified
AliasesGHSA-2jrp-274c-jhv3PYSEC-2026-2976PYSEC-2026-2980
Published 06-02-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-25580 is a high (CVSS 8.6) Server-Side Request Forgery vulnerability in pydantic pydantic_ai. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 51.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.65%
0%100%
Low · -0.09 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 06-02-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.65%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

Decrease -0.09 pp

From 0.74% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pydantic Ai

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Pydantic2 products
PyPI2 products
  • pydantic-ai≥ 0.0.26, < 1.56.0
  • pydantic-ai-slim≥ 0.0.26, < 1.56.0

2 vendors · 4 products

References

10 links