Skip to content
Heist/ feed
Low

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-107288

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-107288

pydantic-ai

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

pydantic-ai-slim

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "pydantic",
    "product": "pydantic-ai",
    "versions": [
      {
        "status": "affected",
        "version": ">= 1.77.0, < 1.107.6"
      },
      {
        "status": "affected",
        "version": ">= 2.0.0b1, < 2.44.0"
      }
    ]
  },
  {
    "vendor": "pydantic",
    "product": "pydantic-ai-slim",
    "versions": [
      {
        "status": "affected",
        "version": ">= 1.77.0, < 1.107.6"
      },
      {
        "status": "affected",
        "version": ">= 2.0.0b1, < 2.44.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-107288

Source reference: /cveMetadata/cveId

Publisher severity

low

Source reference: /containers/cna/metrics

Event
#13059 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement