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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-65920— Diffusers Path Traversal via weight_map Arbitrary File Read

CVSS 4.3 · Medium EPSS 0.33% · P25

Possible ATT&CK Techniques 1AI

T1555 · Credentials from Password Stores

Affected Version Matrix 2

VendorProductVersion RangeStatus
huggingfacediffusers≤ 0.39.0affected
cee298c1f37c439a9a408396b8283a921238a1c6unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-65920

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
Diffusers Path Traversal via weight_map Arbitrary File Read
Source: CVE Program / CVE List V5
Vulnerability Description
Diffusers through 0.39.0, fixed in commit cee298c, contains a path traversal vulnerability in the _get_checkpoint_shard_files function that allows attackers to read arbitrary files by supplying malicious weight_map values in model index JSON. Attackers can use ../ sequences or absolute paths in weight_map entries to escape the model directory and read safetensors files outside the intended location during model loading.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Hugging Face diffusers 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Hugging Face diffusers是Hugging Face公司开源的一个生成图像、音频和3D分子结构的扩散模型库。 Diffusers 0.39.0及之前版本存在路径遍历漏洞,该漏洞源于_get_checkpoint_shard_files函数中存在路径遍历问题,允许攻击者通过提供恶意的weight_map值在模型索引JSON中读取任意文件。攻击者可利用../序列或绝对路径在weight_map条目中逃出模型目录,在模型加载期间读取指定位置外的safetensors文件。
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

VendorProductAffected VersionsCPESubscribe
huggingfacediffusers 0 ~ 0.39.0 -

II. Public POCs for CVE-2026-65920

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-65920

登录查看更多情报信息。

Patches & Fixes for CVE-2026-65920 (2)

Vendor Advisories for CVE-2026-65920 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-65920

No comments yet


Leave a comment