CVE-2026-107294Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl
- 6.5MediumCVSS base score
- 0.44%Exploitation in 30 daysEPSS · top 61% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.77.0 until 1.107.2 and 2.24.0, web_fetch_tool, the WebFetch local fallback, and remote FileUrl media downloads buffer the complete HTTP response body before enforcing content-size controls. An attacker-influenced URL can stream an arbitrarily large response that exhausts process memory and crashes the worker; affected media types include ImageUrl, DocumentUrl, VideoUrl, and AudioUrl. SSRF protections remain effective, and the impact is limited to availability. This issue is fixed in versions 1.107.2 and 2.24.0.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.44% · top 61% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
- affected >= 1.77.0, < 1.107.2
- affected >= 2.0.0b1, < 2.24.0
- affected >= 1.77.0, < 1.107.2
- affected >= 2.0.0b1, < 2.24.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpydantic-aiGHSA-v2xh-2vp8-57h8 (opens in a new tab)
- PyPIpydantic-ai-slimGHSA-v2xh-2vp8-57h8 (opens in a new tab)
References
References7
- https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-v2xh-2vp8-57h8 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/pydantic/pydantic-ai/pull/7141 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/pull/7308 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/7a64d049c3f5271a975cd1d64b2fa876d83ede1d (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/commit/e3824a58c82864ed26afb2887619834a4eb86cc8 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.2 (opens in a new tab)x_refsource_MISC
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.24.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-95104 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-v2xh-2vp8-57h8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-107294)Record last updated .