Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Pydantic AI (pydantic-ai and pydantic-ai-slim) versions 1.77.0 up to 1.107.2 and 2.0.0b1 up to 2.24.0 are affected. An attacker who can send untrusted prompts to an application that exposes the local web-fetch tool, or who can influence large FileUrl downloads, can make it fetch a URL that streams a very large response, exhausting memory and crashing the process. Upgrade to pydantic-ai 2.24.0 or pydantic-ai 1.107.2, or the matching pydantic-ai-slim version. The patched versions cap downloads at 50 MiB by default.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.5 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0044, the 38th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:08 UTC First seen by agentprime
- 31 Oct 2026, 14:08 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-v2xh-2vp8-57h8
- OSV: GHSA-v2xh-2vp8-57h8
- github.com/pydantic/pydantic-ai/security/advisories/GHSA-v2xh-2vp8-57h8
- github.com/pydantic/pydantic-ai/pull/7141
- github.com/pydantic/pydantic-ai/pull/7308
- github.com/pydantic/pydantic-ai/commit/7a64d049c3f5271a975cd1d64b2fa876d83ede1d
- github.com/pydantic/pydantic-ai/commit/e3824a58c82864ed26afb2887619834a4eb86cc8
- github.com/pydantic/pydantic-ai
- github.com/pydantic/pydantic-ai/releases/tag/v1.107.2
- github.com/pydantic/pydantic-ai/releases/tag/v2.24.0