VYPR
High severityNVD Advisory· Published Feb 6, 2026· Updated Feb 9, 2026

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

CVE-2026-25580

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pydantic-aiPyPI
>= 0.0.26, < 1.56.01.56.0
pydantic-ai-slimPyPI
>= 0.0.26, < 1.56.01.56.0

Affected products

3

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.