Description (CNA)
ESPnet before 202609 deserializes pretrained model checkpoints using torch.load with weights_only=False, allowing arbitrary code execution from attacker-supplied files. Attackers can craft malicious checkpoint files that execute code during deserialization when loaded through the initialization or fine-tuning path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| espnet / espnet | affected 0 before 202609; unaffected 202609 |
CWE
CWE-502
References
- https://github.com/espnet/espnet/security/advisories/GHSA-64f6-3gqc-r926
- https://github.com/espnet/espnet/commit/91ca045fc179f29bc7b7fe05cd852aea65310003
- https://github.com/espnet/espnet/blob/v.202511/espnet2/torch_utils/load_pretrained_model.py#L99
- https://github.com/espnet/espnet/releases/tag/v.202609
- https://github.com/espnet/espnet
- https://www.vulncheck.com/advisories/espnet-before-202609-remote-code-execution-via-unsafe-deserialization
ADP enrichment
No English description supplied.