LowVulnerability
CVE-2026-107288: Pydantic AI web fetch bypasses blocked_domains via hostname variants
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-107288
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
Pydantic AI versions from 1.77.0 up to 1.107.6, and 2.44.0, compare blocked_domains entries against URL hostnames before normalization in the local web_fetch_tool and WebFetch fallback. An attacker-influenced model can use an equivalent spelling, such as an IDNA form, non-ASCII label separator, case variation, or trailing root label, that resolves to a blocked host but fails the string match, so the application fetches that host with its own privileges. allowed_domains fails closed on unmatched spellings, and private-IP and cloud-metadata protections remain effective.
Mitigation
This issue is fixed in versions 1.107.6 and 2.44.0.
Topics
Related items
- MediumAgentic Attacks: In The WildSimilar attack · Wiz Research Blog
- LowElastic ships 143 detection rules for AI agents and LLM platformsSimilar attack · Elastic Security Labs
- HighCVE-2026-134827: Lightdash credential exposure via dbt host_domain settingSimilar attack · NVD/CVE Database
- HighCVE-2026-134172: audio-separator insecure deserialization of malicious Demucs model filesSimilar attack · NVD/CVE Database
- MediumCVE-2026-133836: hankcs HanLP deserialization via model_file in RNNLanguageModelSimilar attack · NVD/CVE Database