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

Published Aug 5, 2026
·
Updated

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 weightsonly=True, bypassing peft's own safe-loading wrapper used elsewhere in the codebase. Because torch.load() without weightsonly=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.

Affected Software

1 affected component
Hugging Face peft

Event History

Aug 5, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:24 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71281?

CVE-2026-71281 has a severity rating of 8.8, indicating a high risk level.

2

How do I fix CVE-2026-71281?

To fix CVE-2026-71281, ensure that the torch.load() function in LoRA-GA and CorDA modules is called with weights_only=True.

3

What software does CVE-2026-71281 affect?

CVE-2026-71281 affects the Hugging Face peft library.

4

What is the main issue with CVE-2026-71281?

The main issue with CVE-2026-71281 is unsafe deserialization due to the use of torch.load() without proper safety precautions.

5

When was CVE-2026-71281 published?

CVE-2026-71281 was published on August 5, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203