cve.bz

CVE-2026-25580

8.6 highEPSS 0.7%

High (8.6) in pydantic pydantic ai. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in pydantic-ai 1.56.0.

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.

Severity

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
EPSS
0.7% chance of exploitation in the next 30 days; higher than 51% of CVEs (scores of 2026-10-31)
CWE
CWE-918
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2jrp-274c-jhv3PyPIpydantic-ai>=0.0.26 <1.56.01.56.0
GHSA-2jrp-274c-jhv3PyPIpydantic-ai-slim>=0.0.26 <1.56.01.56.0
PYSEC-2026-2976PyPIpydantic-ai>=0.0.26 <1.56.01.56.0
PYSEC-2026-2980PyPIpydantic-ai-slim>=0.0.26 <1.56.01.56.0

References

Check your stackJSON