THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-v2xh-2vp8-57h8 (medium) — Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl

[GHSA] GHSA-v2xh-2vp8-57h8 (medium) — Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl

medgithub_advisoriesPublished 2026-10-08

GHSA-v2xh-2vp8-57h8 Severity: medium CVE: CVE-2026-107294

Pydantic AI: Unbounded memory use when downloading remote content via web_fetch or FileUrl

### Summary

Several remote-content download paths in Pydantic AI buffered the entire HTTP response body into memory before enforcing any size limit. An application that exposes the local web-fetch tool (`web_fetch_tool`, or the `WebFetch` capabilit

Indicators of compromise

Original source: https://github.com/advisories/GHSA-v2xh-2vp8-57h8