{"id":"CVE-2026-107294","sourceIdentifier":"security-advisories@github.com","published":"2026-10-08T17:17:15.080","lastModified":"2026-10-13T13:49:02.473","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"pydantic","product":"pydantic-ai","versions":[{"version":">= 1.77.0, < 1.107.2","status":"affected"},{"version":">= 2.0.0b1, < 2.24.0","status":"affected"}]},{"vendor":"pydantic","product":"pydantic-ai-slim","versions":[{"version":">= 1.77.0, < 1.107.2","status":"affected"},{"version":">= 2.0.0b1, < 2.24.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-08T20:23:19.119515Z","id":"CVE-2026-107294","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-400"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:*","versionStartIncluding":"1.77.0","versionEndExcluding":"1.107.2","matchCriteriaId":"F6DF9B54-930E-407D-B33D-CCCB5E5349CD"},{"vulnerable":true,"criteria":"cpe:2.3:a:pydantic:pydantic_ai:*:-:*:*:*:python:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.24.0","matchCriteriaId":"213182E9-509B-428C-987E-50233543D4EC"}]}]}],"references":[{"url":"https://github.com/pydantic/pydantic-ai/commit/7a64d049c3f5271a975cd1d64b2fa876d83ede1d","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/pydantic/pydantic-ai/commit/e3824a58c82864ed26afb2887619834a4eb86cc8","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/7141","source":"security-advisories@github.com","tags":["Patch","Issue Tracking"]},{"url":"https://github.com/pydantic/pydantic-ai/pull/7308","source":"security-advisories@github.com","tags":["Patch","Issue Tracking"]},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.2","source":"security-advisories@github.com","tags":["Patch","Release Notes"]},{"url":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.24.0","source":"security-advisories@github.com","tags":["Patch","Release Notes","Vendor Advisory"]},{"url":"https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-v2xh-2vp8-57h8","source":"security-advisories@github.com","tags":["Vendor Advisory"]}]}