CVE-2026-25580
Pydantic AI is a Python agent framework for building applications …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301
- github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3
- nvd.nist.gov/vuln/detail/CVE-2026-25580
- github.com/advisories/GHSA-2jrp-274c-jhv3
- access.redhat.com/security/cve/CVE-2026-25580
- bugzilla.redhat.com/show_bug.cgi?id=2437781
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25580.json
- nvd.nist.gov/vuln/detail/CVE-2026-25580
- cve.org/CVERecord?id=CVE-2026-25580
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.