Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| huggingface / peft | affected 0 through 0.19.1 |
CWE
CWE-502
References
- https://github.com/huggingface/peft
- https://github.com/huggingface/peft/blob/main/src/peft/tuners/lora/corda.py
ADP enrichment
No English description supplied.
No references supplied.