CVE-2026-107289
Published:October 08, 2026
Updated:October 13, 2026
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.
Affected Packages
https://github.com/pydantic/pydantic-ai.git (GITHUB):
Affected version(s) >=v1.56.0 <v1.107.6Fix Suggestion:
Update to version v1.107.6https://github.com/pydantic/pydantic-ai.git (GITHUB):
Affected version(s) >=v2.0.0b1 <v2.44.0Fix Suggestion:
Update to version v2.44.0pydantic-ai (PYTHON):
Affected version(s) >=1.56.0 <1.107.6Fix Suggestion:
Update to version 1.107.6pydantic-ai (PYTHON):
Affected version(s) >=2.0.0b1 <2.44.0Fix Suggestion:
Update to version 2.44.0pydantic-ai-slim (PYTHON):
Affected version(s) >=1.56.0 <1.107.6Fix Suggestion:
Update to version 1.107.6pydantic-ai-slim (PYTHON):
Affected version(s) >=2.0.0b1 <2.44.0Fix Suggestion:
Update to version 2.44.0Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.33