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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-71281— peft Unsafe Deserialization via torch.load() Without weights_only in LoRA-GA and CorDA Modules

CVSS 8.8 · High EPSS 0.33% · P25

Possible ATT&CK Techniques 1AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

VendorProductVersion RangeStatus
huggingfacepeft≤ 0.19.1affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-71281

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
peft Unsafe Deserialization via torch.load() Without weights_only in LoRA-GA and CorDA Modules
Source: CVE Program / CVE List V5
Vulnerability Description
Hugging Face peft's LoRA-GA and CorDA initialization modules (src/peft/tuners/lora/corda.py lines ~102 and ~163, and src/peft/tuners/lora/loraga.py line ~101) call torch.load() on config-specified cache/covariance files without weights_only=True, bypassing peft's own safe-loading wrapper used elsewhere in the codebase. Because torch.load() without weights_only=True performs full pickle deserialization, loading a malicious cache or covariance file (e.g. a shared/downloaded LoRA-GA or CorDA cache) results in arbitrary code execution.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
可信数据的反序列化
Source: CVE Program / CVE List V5
Vulnerability Title
Hugging Face PEFT 反序列化注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Hugging Face PEFT是Hugging Face公司的一个参数高效微调模型库。 Hugging Face PEFT 0.19.1及之前版本存在反序列化注入漏洞,该漏洞源于src/peft/tuners/lora/corda.py和src/peft/tuners/lora/loraga.py中的LoRA-GA和CorDA初始化模块在加载配置指定的缓存/协方差文件时调用torch.load()且未设置weights_only=True,绕过安全加载包装器,导致反序列化恶意文件时可执行任意代码。
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
huggingfacepeft 0 ~ 0.19.1 -

II. Public POCs for CVE-2026-71281

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 6681 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-71281

登录查看更多情报信息。

Other References for CVE-2026-71281 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-71281

No comments yet


Leave a comment