CVE-2026-71281: peft Unsafe Deserialization via torch.load() Without weights_only in LoRA-GA and CorDA Modules
High · CVSS 8.8 (CVSS 3.1)EPSS 0.50%, 42th percentilePublished Updated Assigner: TuranSec
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H · CWE-502
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
huggingface: peft
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/huggingface/peft (opens in new tab)
- github.com/huggingface/peft/blob/main/src/peft/tuners/lora/corda.py (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)