CVSS 3.1
6.8 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NMedium (6.8) in pydantic pydantic ai. EPSS 0.4% 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:H/PR:N/UI:N/S:C/C:H/I:N/A:Npydantic-ai (PyPI): fixed in 1.107.6, 2.44.0pydantic-ai-slim (PyPI): fixed in 1.107.6, 2.44.0Explain CVE-2026-107289 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-107289?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-107289?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-107289 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.56.0 before 1.107.6 |
| pydantic:pydantic_ai | from 2.0.0 before 2.44.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vmxc-h2x2-jmf3 | PyPI | pydantic-ai | >=1.56.0 <1.107.6 | 1.107.6 |
| GHSA-vmxc-h2x2-jmf3 | PyPI | pydantic-ai | >=2.0.0b1 <2.44.0 | 2.44.0 |
| GHSA-vmxc-h2x2-jmf3 | PyPI | pydantic-ai-slim | >=1.56.0 <1.107.6 | 1.107.6 |
| GHSA-vmxc-h2x2-jmf3 | PyPI | pydantic-ai-slim | >=2.0.0b1 <2.44.0 | 2.44.0 |
| PYSEC-2026-4282 | PyPI | pydantic-ai | >=1.56.0 <1.107.6 >=2.0.0b1 <2.44.0 | 1.107.6, 2.44.0 |
| PYSEC-2026-4291 | PyPI | pydantic-ai-slim | >=1.56.0 <1.107.6 >=2.0.0b1 <2.44.0 | 1.107.6, 2.44.0 |
Red Hat rates this Low.
A LOW impact information disclosure flaw was found in the pydantic-ai Python agent framework, which is shipped in Red Hat Enterprise Linux AI and Lightspeed Core products. When an application explicitly opts attacker-influenced URLs into local network access (a FileUrl with force_download='allow-local' or web_fetch_tool with allow_local_urls=True; both settings are disabled by default) and runs in an IPv6-enabled environment, a remote attacker can bypass the internal cloud-metadata blocklist by appending an IPv6 zone identifier to an IPv6 metadata address. Because IPv6Address equality and hashing include the zone identifier, the blocklist comparison fails, while the network stack ignores the zone identifier on a non-link-local destination and delivers the request to the cloud metadata service, potentially exposing cloud IAM credentials. Red Hat rates this flaw LOW severity (CVSS 3.7) rather than the upstream MODERATE rating (CVSS 6.8) because exploitation requires the non-default opt-in local-network settings and an IPv6-enabled environment, and the resulting information disclosure remains within the vulnerable application's own security context. The affected Red Hat products carry a DEFER resolution because updates are not filed for LOW severity flaws; the residual risk is limited to deployments that enable local network access for URLs influenced by untrusted input in IPv6-enabled environments.
Local network access in pydantic-ai is opt-in and disabled by default. Do not enable force_download='allow-local' on FileUrl objects or allow_local_urls=True on web_fetch_tool for URLs that could be influenced by untrusted input; web_fetch_tool is configured only by the application itself, so a client cannot enable local network access on its own. If local network access must be allowed for such URLs, reject URL hosts containing '%' (an IPv6 zone identifier) before constructing the FileUrl or configuring the tool. Upgrading pydantic-ai to a version containing the upstream fix also resolves the issue.
| 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-107289.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.