CVE-2026-46678: Pydantic AI - Information Disclosure
- Cve: CVE-2026-46678
- Name: Pydantic AI - Information Disclosure
- 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.
- Impact: Attackers can expose cloud IAM short-term credentials, risking unauthorized access to cloud resources.
- Remediation: Update to version 1.99.0 or later.
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0038
- Epss percentile: 0.32497
- Assignee: [email protected]
- Published at: 2026-07-29T21:17:47Z
- Age in days: 118
- Modified at: 2026-08-04T13:52:14Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-46678
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-cqp8-fcvh-x7r3 | nvd | Vendor Advisory |
| https://github.com/pydantic/pydantic-ai/releases/tag/v1.99.0 | nvd | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pydantic:pydantic_ai | >= 1.56.0, < 1.99.0 | no | nvd | /v1/products/pydantic/pydantic_ai |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pydantic/pydantic-ai | package, releases, security_advisory | yes | /v1/repositories/pydantic/pydantic-ai |
Index
- Repositories: 15
- Repositories high signal: 8
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts