Hugging Face peft's LoRA-GA and CorDA initialization modules (src/peft/tuners/lora/corda.py lines...
Summary
Vulnerability reported (CVE-2026-71281). Successful exploitation can lead to full system takeover.
Original description
The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Hugging FaceのpeftライブラリのLoRA-GAとCorDAの初期化モジュールに重大な脆弱性があります。これらのモジュールは、torch.load()を使用してキャッシュファイルを読み込みますが、weights_only=Trueが指定されていないため、危険なピクルデシリアライズが発生します。これにより、不正なコード実行が可能になります。
Hugging Face peftのLoRA-GAとCorDA初期化モジュールにおける不正なコード実行の脆弱性
peftライブラリのsrc/peft/tuners/lora/corda.pyおよびloraga.py
攻撃者が悪意のあるキャッシュファイルを使用して任意のコードを実行する可能性があるため重大です。
torch.load()呼び出しにweights_only=Trueを追加して、安全なデシリアライズを保証します。
安全なキャッシュファイルとだけ接続することを推奨します。
不明なまたは信用できないキャッシュファイルをロードしないように注意します。
References
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com