CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (6.5) in pydantic pydantic ai. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in pydantic-ai 1.107.6, 2.44.0.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hpydantic-ai (PyPI): fixed in 1.107.6, 2.44.0pydantic-ai-slim (PyPI): fixed in 1.107.6, 2.44.0Explain CVE-2026-107290 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-107290?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-107290?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-107290 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pydantic:pydantic_ai | from 1.77.0 before 1.107.6 |
| pydantic:pydantic_ai | from 2.0.0 before 2.44.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fpf4-vwcp-v4hp | PyPI | pydantic-ai | >=1.77.0 <1.107.6 | 1.107.6 |
| GHSA-fpf4-vwcp-v4hp | PyPI | pydantic-ai | >=2.0.0b1 <2.44.0 | 2.44.0 |
| GHSA-fpf4-vwcp-v4hp | PyPI | pydantic-ai-slim | >=1.77.0 <1.107.6 | 1.107.6 |
| GHSA-fpf4-vwcp-v4hp | PyPI | pydantic-ai-slim | >=2.0.0b1 <2.44.0 | 2.44.0 |
| PYSEC-2026-4277 | PyPI | pydantic-ai | >=1.77.0 <1.107.6 >=2.0.0b1 <2.44.0 | 1.107.6, 2.44.0 |
| PYSEC-2026-4286 | PyPI | pydantic-ai-slim | >=1.77.0 <1.107.6 >=2.0.0b1 <2.44.0 | 1.107.6, 2.44.0 |
Red Hat rates this Moderate.
A flaw of MODERATE impact was found in the pydantic-ai Python agent framework, which is shipped in Red Hat products including Red Hat Enterprise Linux AI (rhel-ai-3) and Lightspeed Core (lightspeed-core-0). The local web-fetch tool (web_fetch_tool, also used as the local fallback for the WebFetch capability) processes server-controlled responses with steps whose running time grows quadratically with the size of certain inputs, including title extraction with a backtracking regular expression, whitespace normalization, and ordered-list numbering, and runs them on the application's event loop. A remote attacker who can steer an agent that is exposed to untrusted prompts to fetch an attacker-controlled web page of modest size can block the event loop for an extended period, stalling every other coroutine in the process, including other agent runs and requests. Response bodies declaring codecs that are not text encodings, or excessively nested HTML or JSON content, can also abort the individual agent run that fetched them. This is an availability-only issue with no impact on confidentiality or integrity. All currently listed Red Hat affects are marked AFFECTED with a resolution of DEFER: because the impact is MODERATE and the CVSS 3.1 score is 6.5 (below 7.0), Red Hat does not file trackers for flaws at this severity, so the fix is deferred and the residual risk remains denial of service in deployments whose agents fetch web content that an attacker can influence. This rating matches the upstream severity of Moderate (CVSS 3.1 score 6.5, AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
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. Upstream's remediation is to upgrade to a patched version of pydantic-ai. Exposure can additionally be reduced by not exposing the web-fetch tool to untrusted prompts and restricting fetched URLs to developer-controlled locations; upstream notes that configuring allowed_domains narrows but does not remove the exposure.
| Product | Package | State | Advisory |
|---|---|---|---|
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gaudi-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/disk-image-cuda-rhel9 | Fix 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-107290.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.