cve.bz

CVE-2026-107294 pydantic pydantic ai: Uncontrolled Resource Consumption

6.5 mediumEPSS 0.4%Fix available

Medium (6.5) in pydantic pydantic ai. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in pydantic-ai 1.107.2, 2.24.0.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-107294 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-107294?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-107294?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-107294 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pydantic:pydantic_aifrom 1.77.0 before 1.107.2
pydantic:pydantic_aifrom 2.0.0 before 2.24.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v2xh-2vp8-57h8PyPIpydantic-ai>=1.77.0 <1.107.21.107.2
GHSA-v2xh-2vp8-57h8PyPIpydantic-ai>=2.0.0b1 <2.24.02.24.0
GHSA-v2xh-2vp8-57h8PyPIpydantic-ai-slim>=1.77.0 <1.107.21.107.2
GHSA-v2xh-2vp8-57h8PyPIpydantic-ai-slim>=2.0.0b1 <2.24.02.24.0
PYSEC-2026-4280PyPIpydantic-ai>=1.77.0 <1.107.2
>=2.0.0b1 <2.24.0
1.107.2, 2.24.0
PYSEC-2026-4289PyPIpydantic-ai-slim>=1.77.0 <1.107.2
>=2.0.0b1 <2.24.0
1.107.2, 2.24.0

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A denial of service vulnerability of moderate severity was found in pydantic-ai, a Python agent framework used in Red Hat Enterprise Linux AI and Lightspeed Core products. When fetching remote web content or media files, pydantic-ai buffers the entire HTTP response body in memory before enforcing content-size limits. A remote attacker who can influence a URL processed by an application that exposes pydantic-ai's web-fetch functionality (web_fetch_tool or the WebFetch local fallback) or downloads remote FileUrl media (ImageUrl, DocumentUrl, VideoUrl, AudioUrl) can supply a link that streams an excessively large response, exhausting process memory and crashing the application worker. The impact is limited to availability; SSRF protections remain effective, and there is no confidentiality or integrity impact. Red Hat and upstream both assess this issue as MODERATE severity with a CVSS 3.1 base score of 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). Because the impact is moderate with a CVSS score below 7.0, the fix for the affected Red Hat products is deferred and no update trackers are being filed at this time; the residual risk is a denial of service against application workers that process attacker-influenced URLs.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-gaudi-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/disk-image-cuda-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-107294.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON