CVSS 3.1
8.6 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NHigh (8.6) in pydantic pydantic ai. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in pydantic-ai 1.56.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:Npydantic-ai (PyPI): fixed in 1.56.0pydantic-ai-slim (PyPI): fixed in 1.56.0Explain CVE-2026-25580 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25580?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25580?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-25580 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pydantic:pydantic_ai | from 0.0.26 before 1.56.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-2jrp-274c-jhv3 | PyPI | pydantic-ai | >=0.0.26 <1.56.0 | 1.56.0 |
| GHSA-2jrp-274c-jhv3 | PyPI | pydantic-ai-slim | >=0.0.26 <1.56.0 | 1.56.0 |
| PYSEC-2026-2976 | PyPI | pydantic-ai | >=0.0.26 <1.56.0 | 1.56.0 |
| PYSEC-2026-2980 | PyPI | pydantic-ai-slim | >=0.0.26 <1.56.0 | 1.56.0 |
Red Hat rates this Important.
This IMPORTANT vulnerability affects Red Hat Enterprise Linux AI products using Pydantic AI when applications process untrusted message history. A Server-Side Request Forgery (SSRF) flaw in URL download handling allows attackers to inject malicious URLs, potentially accessing internal network resources or cloud credentials. Exploitation requires applications to accept message history from external, untrusted sources.
To mitigate, configure applications using Pydantic AI to avoid accepting message history from untrusted external sources. Implement robust input validation and sanitization for all URLs processed by the application. Additionally, restrict network access for the Pydantic AI application to only essential internal and external resources, thereby limiting the potential impact of SSRF attacks.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Will not fix | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/disk-image-cuda-rhel9 | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-25580.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.