Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| espnet | espnet | < 202609 | 202609 |
References
- GitHub Security Advisory (GHSA-64f6-3gqc-r926) vendor-advisory
- Patch Commit patch
- Unsafe torch.load call at v.202511 technical-description
- ESPnet v.202609 Release Notes release-notes
- https://github.com/espnet/espnet product
- VulnCheck Advisory: ESPnet before 202609 Remote Code Execution via Unsafe Deserialization third-party-advisory