Live threats

All CVEs / Pydantic

CVE-2026-25580Pydantic Ai

High 8.6 No auth needed

Priority
67
CVSS 3.1
8.6
EPSS
—
Auth required
No
Published
Feb 6, 2026
Updated
Jul 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pydantic Ai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pydantic-ai ≥ 0.0.26 < 1.56.0 1.56.0 pip install "pydantic-ai>=1.56.0"
PyPI pydantic-ai ≥ 0.0.26 < 1.56.0 1.56.0 pip install "pydantic-ai>=1.56.0"
PyPI pydantic-ai-slim ≥ 0.0.26 < 1.56.0 1.56.0 pip install "pydantic-ai-slim>=1.56.0"
PyPI pydantic-ai-slim ≥ 0.0.26 < 1.56.0 1.56.0 pip install "pydantic-ai-slim>=1.56.0"

Per OSV / GitHub Advisories (GHSA-2jrp-274c-jhv3, PYSEC-2026-2976, PYSEC-2026-2980). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pydanticpydantic_ai≥ 0.0.26 < 1.56.0

Official sources

References

Links published by the sources. Open them with care.