CVE-2026-71281
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by TuranSec
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
TuranSec

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.

Affected

Product or packageVersionsReported by
huggingface peftup to 0.19.1CVE List

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Los módulos de inicialización de LoRA-GA y CorDA de peft de Hugging Face (src/peft/tuners/lora/corda.py líneas ~102 y ~163, y src/peft/tuners/lora/loraga.py línea ~101) llaman a torch.load() en archivos de caché/covarianza especificados en la configuración sin weights_only=True, eludiendo el propio envoltorio de carga segura de peft utilizado en otras partes de la base de código. Debido a que torch.load() sin weights_only=True realiza una deserialización completa de pickle, la carga de un archivo de caché o covarianza malicioso (por ejemplo, una caché de LoRA-GA o CorDA compartida/descargada) resulta en ejecución de código arbitrario.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-71281 changed 2026-08-10CVE Terms of Use
NVDCVE-2026-71281 changed 2026-10-23Public domain