Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-46678— Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv4-mapped IPv6 (Incomplete fix of CVE-2026-25580)

Quick assessment

Affected
pydantic pydantic-ai
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Pydantic pydantic-ai是Pydantic组织开源的一个用于构建生产级应用程序和工作流的生成式AI框架。 pydantic-ai 1.56.0版本至1.99.0之前版本存在服务端请求伪造漏洞,该漏洞源于应用启用force_download='allow-local'时,可通过IPv6转换形式编码元数据IP绕过云元数据黑名单,暴露云IAM短期凭据。

CVSS 6.8 · Medium EPSS 0.38% · P30

Possible ATT&CK Techniques 1 AI

T1213 · Data from Information Repositories

Affected Version Matrix 2

VendorProduct Version RangeStatus
pydantic pydantic-ai >= 1.56.0, < 1.99.0 affected
pydantic pydantic-ai-slim >= 1.56.0, < 1.99.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-46678

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Pydantic AI: SSRF cloud-metadata blocklist bypass via IPv4-mapped IPv6 (Incomplete fix of CVE-2026-25580)
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
pydantic-ai 服务端请求伪造漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Pydantic pydantic-ai是Pydantic组织开源的一个用于构建生产级应用程序和工作流的生成式AI框架。 pydantic-ai 1.56.0版本至1.99.0之前版本存在服务端请求伪造漏洞,该漏洞源于应用启用force_download='allow-local'时,可通过IPv6转换形式编码元数据IP绕过云元数据黑名单,暴露云IAM短期凭据。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pydantic pydantic-ai >= 1.56.0, < 1.99.0 -
pydantic pydantic-ai-slim >= 1.56.0, < 1.99.0 -

II. Public POCs for CVE-2026-46678

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-46678

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-46678 (1)

Vendor Pages for CVE-2026-46678 (1)

Same Patch Batch · pydantic · 2026-07-29 · 3 CVEs total

CVE-2026-54249 6.8 MEDIUM VercelAIAdapter trusts client-controlled `providerMetadata` to construct `UploadedFile` —
CVE-2026-65975 6.5 MEDIUM Pydantic AI AG-UI Adapter: A dangling client-submitted tool call can execute when a traili

IV. Related Vulnerabilities

V. Comments for CVE-2026-46678

No comments yet


Leave a comment