top of page
perceptive_background_267k.jpg

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) c…

Published:

4 August 2026 at 22:00:00

Alert date:

5 August 2026 at 14:10:56

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Emerging Technologies

CVE-2026-71281 affects Hugging Face's PEFT library, specifically the LoRA-GA and CorDA initialization modules. The vulnerability stems from insecure use of torch.load() without the weights_only=True parameter in corda.py (lines ~102 and ~163) and loraga.py (line ~101). This bypasses PEFT's own safe-loading wrapper used elsewhere in the codebase. Because torch.load() without weights_only=True performs full pickle deserialization, an attacker can craft a malicious cache or covariance file to achieve arbitrary code execution. The attack vector involves sharing or distributing poisoned LoRA-GA or CorDA cache files that victims may download and load. This is a supply chain risk for ML practitioners using shared model initialization caches. The vulnerability is considered high severity due to the potential for arbitrary code execution.

Technical details

Mitigation steps:

Affected products:

Hugging Face PEFT
PyTorch

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page