HighVulnerability
CVE-2026-25580: Pydantic AI server-side request forgery in URL download via message history
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-25580
- Published
- Record updated
- Affected
- pydantic-ai >= 0.0.26, < 1.56.0
- pydantic-ai-slim >= 0.0.26, < 1.56.0
- Fixed in
- 1.56.0
- pydantic-ai 1.56.0 released February 5, 2026, on the day of disclosure
- pydantic-ai-slim 1.56.0 released February 5, 2026, on the day of disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
Pydantic AI, a Python agent framework for Generative AI applications, contains a Server-Side Request Forgery (SSRF) flaw in its URL download functionality in versions from 0.0.26 to before 1.56.0. When applications accept message history from untrusted sources, attackers can include malicious URLs that make the server send HTTP requests to internal network resources, potentially reaching internal services or cloud credentials. Only applications that accept message history from external users are affected.
Mitigation
This vulnerability is fixed in 1.56.0.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- pydantic-aiPyPILLM dependency since 2024-05-20 · 4 tracked dependents
- pydantic-ai-slimPyPILLM dependency since 2024-11-25 · 7 tracked dependents
Topics
Related items
- MediumCVE-2026-124588: huggingface finetrainers code injection via Library argumentSimilar attack · NVD/CVE Database
- MediumTaiwan-Based Hacker Used BOSSAI AI Agents to Steal Taipei Emergency Dispatch RecordsSimilar attack · The Hacker News
- MediumOn the hunt for ARTEX: understanding agentic attacks in AWS environmentsSimilar attack · Datadog Security Labs
- CriticalCVE-2026-102895: GPUStack Improper Authentication VulnerabilitySimilar attack · CISA Known Exploited Vulnerabilities
- HighCVE-2026-97677: IBM Langflow OSS arbitrary file write and read by authenticated flow authorsSimilar attack · NVD/CVE Database