ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 3

Advisories in PyPI

  • GHSA-2jrp-274c-jhv3

    Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling

    High CVE-2026-25580 PyPI Updated 13 July 2026
  • PYSEC-2026-2976

    Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling

    CVE-2026-25580 PyPI Updated 13 July 2026
  • PYSEC-2026-2980

    Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling

    CVE-2026-25580 PyPI Updated 13 July 2026

References