Skip to main content
CVE-2026-25580VulnerabilityPublished Updated

CVE-2026-25580: pydantic-ai · Server-Side Request Forgery (SSRF)

Affects pydantic-aiSource CVE Database V5

0

Not known to be exploited · CVSS 8.6 High : upgrade to 1.56.0 soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.56.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade pydantic-ai to 1.56.0.

Affected software

ProductAffectedFixed in
pydanticpydantic-aiAffected
  • >=0.0.26 <1.56.0
Fixed in
  • 1.56.0
PyPIpydantic-aipkg:pypi/pydantic-aiOther threatsAffected
  • >=0.0.26 <1.56.0
Fixed in
  • 1.56.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade pydantic-ai to version 1.56.0 or later, where this SSRF vulnerability is fixed. Applications that do not accept message history from untrusted external sources are not affected. No other mitigations are specified in the vendor advisory.

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.

References

Community reviews

Loading reviews…