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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/huggingface/peft
- https://github.com/huggingface/peft/blob/main/src/peft/tuners/lora/corda.py
FAQ
What is CVE-2026-71281?
CVE-2026-71281 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 cac...
How severe is CVE-2026-71281?
CVE-2026-71281 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-71281?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.