CVE-2026-25580

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

Configuration 1 (hide)

cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:*

History

30 Jun 2026, 03:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/security/cve/CVE-2026-25580 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2437781 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25580.json -

17 Jun 2026, 10:24

Type Values Removed Values Added
Summary
  • (es) Pydantic AI es un framework de agente Python para construir aplicaciones y flujos de trabajo con IA Generativa. Desde la 0.0.26 hasta antes de la 1.56.0, existe una vulnerabilidad de Server-Side Request Forgery (SSRF) en la funcionalidad de descarga de URL de Pydantic AI. Cuando las aplicaciones aceptan el historial de mensajes de fuentes no confiables, los atacantes pueden incluir URL maliciosas que hacen que el servidor realice solicitudes HTTP a recursos de red internos, accediendo potencialmente a servicios internos o credenciales en la nube. Esta vulnerabilidad solo afecta a aplicaciones que aceptan el historial de mensajes de usuarios externos. Esta vulnerabilidad está corregida en la 1.56.0.

20 Feb 2026, 21:01

Type Values Removed Values Added
First Time Pydantic
Pydantic pydantic Ai
CPE cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:*
References () https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301 - () https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301 - Patch
References () https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3 - () https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3 - Exploit, Mitigation, Vendor Advisory

06 Feb 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-06 21:16

Updated : 2026-07-15 02:18


NVD link : CVE-2026-25580

Mitre link : CVE-2026-25580

CVE.ORG link : CVE-2026-25580


JSON object : View

Products Affected

pydantic

  • pydantic_ai
CWE
CWE-918

Server-Side Request Forgery (SSRF)