CVE-2026-71281
peft Unsafe Deserialization via torch.load() Without weights_only in LoRA-GA and CorDA Modules
- State
- Published
- Severity
- 8.8 High
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 5, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | TuranSec |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
pefthuggingface |
|
References
- https://github.com/huggingface/peftthird-party-advisory
- https://github.com/huggingface/peft/blob/main/src/peft/tuners/lora/corda.pythird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.