Skip to content
OpenAdvisories
High · 8.8 CVE-2026-71281 EUVD-2026-53366GHSA-g7pc-47rc-wvwf

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

Published Aug 5, 2026 · Updated Aug 10, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
huggingface peft ≤ 0.19.1 —

References