CVE-2026-107289

Description

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.56.0 until 1.107.6 and 2.44.0, applications that opt attacker-influenced URLs into local network access through FileUrl with force_download='allow-local' or web_fetch_tool with allow_local_urls=True can bypass the cloud-metadata blocklist by appending an IPv6 zone identifier to an IPv6 metadata address. IPv6Address equality and hashing include the zone identifier, so the blocklist comparison fails even though the network stack ignores the zone on a non-link-local destination and reaches the metadata service, potentially exposing cloud IAM credentials. The opt-in settings are disabled by default, and the issue requires an IPv6-enabled environment. This issue is fixed in versions 1.107.6 and 2.44.0.

Severity
MEDIUM
CVSS v3
6.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
0.390%
chance of exploitation in the next 30 days
higher than 33.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 4
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2026-10-08

Timeline

  1. 2026-10-08Published by the CNA15:20 UTC
  2. 2026-10-08GitHub advisory published (GHSA-vmxc-h2x2-jmf3)same day
  3. 2026-10-08CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-vmxc-h2x2-jmf3, affected packages:

PackageVulnerable versionsFixed in
PyPI pydantic-aifrom 1.56.0 before 1.107.61.107.6
PyPI pydantic-aifrom 2.0.0b1 before 2.44.02.44.0
PyPI pydantic-ai-slimfrom 1.56.0 before 1.107.61.107.6
PyPI pydantic-ai-slimfrom 2.0.0b1 before 2.44.02.44.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
pydantic pydantic_aifrom 1.56.0 before 1.107.6fixed in 1.107.6from 2.0.0 before 2.44.0fixed in 2.44.01.107.62.44.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources