Bug 2511563 (CVE-2026-71281) - CVE-2026-71281 peft: peft: Arbitrary Code Execution via Unsafe Deserialization in LoRA-GA and CorDA Modules
Summary: CVE-2026-71281 peft: peft: Arbitrary Code Execution via Unsafe Deserializatio...
Keywords:
Status: NEW
Alias: CVE-2026-71281
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-05 14:04 UTC by OSIDB Bzimport
Modified: 2026-08-06 12:38 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-05 14:04:41 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.