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.
Published: 2026-09-13
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

ESPnet prior to version v.202609 incorrectly deserializes pretrained model checkpoints with torch.load, leaving weights_only=False. This permissive setting allows any Python code embedded in the checkpoint to execute when the file is loaded. An attacker who supplies a malicious checkpoint can therefore run arbitrary code with the privileges of the ESPnet process. The vulnerability is a classic unsafe deserialization flaw (CWE‑502) that directly compromises confidentiality, integrity, and availability of the host system.

Affected Systems

All releases before v.202609 are affected. The defect resides in espnet2/torch_utils/load_pretrained_model.py, line 99, which uses torch.load without restricting the deserialization context. Any system that loads pretrained models via the initialization or fine‑tuning paths is vulnerable, regardless of the terminology used for the models. Users running ESPnet on local machines or remote servers must verify that their installed version is v.202609 or newer.

Risk and Exploitability

The CVSS score of 8.7 reflects a high severity. The EPSS score of <1% (approximately 0.00507) indicates a very low probability of exploitation, and the vulnerability is currently absent from CISA’s KEV catalog. Exploitation requires the attacker to provide a malicious model checkpoint file that the ESPnet process will load. The likely attack vector is a local compromise where an attacker injects a crafted checkpoint, or a remote attack if the system accepts model files from untrusted sources or exposes an API that triggers the load function. The described vulnerability permits code execution with the rights of the ESPnet process, meaning full system compromise is possible if the process runs with administrative privileges.

Generated by OpenCVE AI on September 15, 2026 at 16:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ESPnet to release v.202609 or later where torch.load is invoked with weights_only=True to restrict code execution during deserialization.
  • If upgrading is not possible, avoid loading checkpoints from untrusted=True when calling torch function to enforce safe deserialization.
  • Restrict the directories from which ESPnet can load pretrained models, and remove any ability for external users to supply model files; consider configuring file access if unused. Keep monitoring system logs for failed deserialization attempts.

Generated by OpenCVE AI on September 15, 2026 at 16:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 13 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Espnet
Espnet espnet
Vendors & Products Espnet
Espnet espnet

Sun, 13 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title ESPnet before 202609 Remote Code Execution via Unsafe Deserialization
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-24T14:21:57.147Z

Reserved: 2026-09-13T11:15:46.288Z

Link: CVE-2026-90777

cve-icon Vulnrichment

Updated: 2026-09-14T17:27:32.111Z

cve-icon NVD

Status : Deferred

Published: 2026-09-13T12:17:16.690

Modified: 2026-09-23T17:17:44.357

Link: CVE-2026-90777

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T17:00:14Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data