CVE-2026-46678
Last modified
CVE-2026-46678 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. Pydantic AI is a Python agent framework for building Generative AI applications. In versions 1.56.0 through 1.98.0, when an application opts a URL into force_download='allow-local' (disabling the default block on private/internal IPs), the cloud-metadata blocklist could be bypassed by encoding the metadata IP in an IPv6 transition form (IPv4-mapped IPv6, 6to4, or NAT64), exposing cloud IAM short-term credentials on dual-stack or translated networks. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
Description
Pydantic AI is a Python agent framework for building Generative AI applications. In versions 1.56.0 through 1.98.0, when an application opts a URL into force_download='allow-local' (disabling the default block on private/internal IPs), the cloud-metadata blocklist could be bypassed by encoding the metadata IP in an IPv6 transition form (IPv4-mapped IPv6, 6to4, or NAT64), exposing cloud IAM short-term credentials on dual-stack or translated networks. This is an incomplete fix of GHSA-2jrp-274c-jhv3 / CVE-2026-25580, whose remediation did not hold for IPv6-encoded forms of the metadata IPs. An application is affected only if it explicitly opts a FileUrl (ImageUrl, AudioUrl, VideoUrl, DocumentUrl) into force_download='allow-local' on a URL influenced by untrusted input; it is not affected when using bundled integrations to ingest user input (Agent.to_web / clai web, VercelAIAdapter, AGUIAdapter / Agent.to_ag_ui), since they do not propagate force_download from external data, nor when downloading only from developer-controlled URLs. This issue has been fixed in version 1.99.0.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pydantic | Pydantic Ai | >= 1.56.0, < 1.99.0 |
References
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.99.0Product, Release Notes
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-46678?
How severe is CVE-2026-46678?
How do I fix CVE-2026-46678?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-46669OpenVM is a performant and modular zkVM framework built for …7.5
- CVE-2026-4667HP System Optimizer might potentially be vulnerable to escal…7.3
- CVE-2026-46670YesWiki is a wiki system written in PHP. Prior to version 4.…9.8
- CVE-2026-46671Rust OneNote File Parser is a parser for Microsoft OneNote f…4.4
- CVE-2026-46672Actual is a local-first personal finance app. Prior to 26.6.…4.6
- CVE-2026-46673Russh is a Rust SSH client & server library. Prior to versio…7.5
- CVE-2026-46679libp2p is a JavaScript Implementation of libp2p networking s…7.5
- CVE-2026-4668The Booking for Appointments and Events Calendar - Amelia pl…6.5
- CVE-2026-46680containerd is an open-source container runtime. In versions …7.8
- CVE-2026-46681@nevware21/ts-utils is a comprehensive TypeScript/JavaScript…7.2
- CVE-2026-46683Snappy is a PHP library allowing thumbnail, snapshot or PDF …6.9
- CVE-2026-46684DataEase is an open source data visualization and analysis t…9.5
Are you affected by CVE-2026-46678?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
