Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling (pydantic pydantic-ai)
En bref
- Source
- NVD
- EPSS
- EPSS 0.66 % · centile 52 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Modified
Rechercher sur…
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.
Faiblesses (CWE)
- CWE-918 — Falsification de requête côté serveur (SSRF)
Références
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3
- https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301
- https://access.redhat.com/security/cve/CVE-2026-25580
- https://bugzilla.redhat.com/show_bug.cgi?id=2437781
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25580.json
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
| CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | redhat-SADP |
| CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Avis
- GHSA-2jrp-274c-jhv3 — Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling
- PYSEC-2026-2976 — Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling
- PYSEC-2026-2980 — Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling
Références européennes
- ENISA EUVD · EUVD-2026-5574
- GCVE · GCVE-0-2026-25580
Configurations affectées (CPE NVD)
cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:*≥ 0.0.26 < 1.56.0
Produits affectés
| Produit | Versions |
|---|---|
| pydantic · pydantic-ai | affected >= 0.0.26, < 1.56.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |