Arbitrary Code Execution in Hugging Face PEFT Modules
CVE-2026-71281

8.8HIGH

Key Information:

Status
Vendor
CVE Published:
5 August 2026

What is CVE-2026-71281?

The Hugging Face PEFT product contains a vulnerability in its LoRA-GA and CorDA initialization modules that allows for arbitrary code execution. This occurs because the modules invoke torch.load() on cache files without the weights_only=True parameter, leading to the unprotected deserialization of potentially malicious files. If an attacker can manipulate or provide a crafted cache or covariance file, it poses significant risks for systems utilizing these modules. Developers are urged to check their version of PEFT and apply necessary patches to mitigate this threat.

Affected Version(s)

peft 0 <= 0.19.1

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Saidakbarxon Maxsudxonov
.