Security Feed
See the latest insights and analysis from our MDR team.
RSS for Slackcve-2026-71281
By Yogev Levi |
6 August 2026
Hugging Face peft unsafe torch.load deserialization enables code execution via malicious cache files
Hugging Face peft LoRA-GA and CorDA initialization calls torch.load() without weights_only=True, allowing full pickle deserialization when loading a malicious cache/covariance file. An attacker can trick a user into loading a crafted file to execute arbitrary code. Mitigate by avoiding untrusted files and patching peft to load weights with weights_only=True.