CVE-2026-107288

Pydantic AI: web_fetch_tool blocked_domains bypass via a hostname the resolver normalizes differently

LOW
3.7
CVSS Score
Published: October 8, 2026 at 03:18 PM UTC
Updated: October 13, 2026 at 02:35 PM UTC
2 products affected across 1 vendorPydantic AIPydantic AI Slim

Using pydantic-ai by pydantic?

Get instant alerts when new vulnerabilities affect pydantic-ai - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.7
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.77.0 until 1.107.6 and 2.44.0, the local web_fetch_tool and the WebFetch local fallback compare blocked_domains entries with a URL hostname before both values are normalized to the form used by getaddrinfo. An attacker-influenced model can use an equivalent IDNA spelling, non-ASCII label separator, case variation, or trailing root label that resolves to a blocked host but does not match the configured string, causing the application to fetch that host with its own privileges. allowed_domains fails closed for unmatched spellings, and private-IP and cloud-metadata protections remain effective. This issue is fixed in versions 1.107.6 and 2.44.0.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

References (9)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-22h6-qm39-v87j
x_refsource_MISCPatchVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/8407
x_refsource_MISCPatchVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/8409
x_refsource_MISCPatchVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/pull/8421
x_refsource_MISCPatchRelease NotesVendor Advisory
Source: cverecord
https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.6

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

3.7LOWGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-918CWE-1289

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card