Skip to main content

ESPnet EUVDEUVD-2026-77001

| CVE-2026-90777 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-09-13 VulnCheck GHSA-r7rw-fc94-3p58
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious pickle-embedded PyTorch checkpoint
  2. Delivery
    Host or distribute checkpoint via model hub, email, or shared storage
  3. Exploit
    Social engineer victim into loading checkpoint as a pretrained or fine-tuned model
  4. Execution
    ESPnet calls torch.load with weights_only=False
  5. Persist
    Pickle payload deserializes and executes attacker code
  6. Impact
    Arbitrary command execution as ESPnet process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must load an attacker-supplied PyTorch checkpoint file through one of ESPnet's four vulnerable code paths: (1) pretrained model loading via espnet2/torch_utils/load_pretrained_model.py (used during initialization and transfer learning), (2) model build and fine-tuning via espnet2/tasks/abs_task.py, (3) N-best model averaging via espnet2/main_funcs/average_nbest_models.py, or (4) speech LM inference via espnet2/speechlm/bin/inference.py. The ESPnet installation must be a version earlier than v.202609. No server-side configuration is required - exploitation is entirely client-side, occurring on the machine running ESPnet. The primary limiting factor is user interaction: the victim must actively choose to load the malicious file. This is a realistic condition in ML research and engineering workflows, where downloading and testing third-party pretrained checkpoints is routine.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) is broadly sound but requires contextual framing. UI:P correctly captures that the victim must actively load the malicious checkpoint - this is not a zero-click or purely network-triggered exploit. Real-world risk is primarily a function of trust culture in ML research workflows: researchers and engineers routinely download and load community checkpoints from model hubs, shared lab storage, or collaborators, making the social-engineering surface substantial. No CISA KEV listing is present in the input data. EPSS data was not provided, so exploitation probability cannot be quantified. No public exploit code has been identified at time of analysis, though the underlying pickle gadget technique is extensively documented and trivially implementable. The narrow deployment footprint of ESPnet (primarily research and specialized production) limits population-scale blast radius, but high-value targets such as research labs or ML infrastructure pipelines could be meaningfully impacted.

Exploit ScenarioDerived

An attacker publishes a malicious ESPnet-compatible checkpoint on a public model repository or delivers it directly to a target researcher via email or a shared file system. When the victim loads the checkpoint through a routine fine-tuning or inference command, ESPnet's torch.load call deserializes the embedded pickle payload, executing attacker-supplied operating system commands with the full privileges of the Python process - potentially granting shell access, credential theft, or data exfiltration on the research workstation or cluster node. No public exploit code has been identified, but the required pickle crafting technique is extensively published.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 13, 2026

Arbitrary code execution in ESPnet before v.202609 is triggered when a user loads an attacker-crafted PyTorch checkpoint through any of the framework's model initialization, fine-tuning, or averaging pipelines. The root cause is CWE-502 (Deserialization of Untrusted Data): ESPnet called torch.load with weights_only=False across at least four distinct code paths, allowing pickle-embedded payloads to execute arbitrary commands with the privileges of the ESPnet process. No public exploit has been identified at time of analysis, but the attack technique - crafting malicious PyTorch pickle checkpoints - is thoroughly documented in the ML security community and requires minimal skill to reproduce.

RemediationAI

Upgrade ESPnet to v.202609 or later, available at https://github.com/espnet/espnet/releases/tag/v.202609. The patch (commit 91ca045fc179f29bc7b7fe05cd852aea65310003) replaces all torch.load(weights_only=False) calls with a new safe_torch_load wrapper that defaults to weights_only=True. Unsafe loading is only permitted with explicit opt-in via the ESPNET_ALLOW_UNSAFE_TORCH_LOAD environment variable or an interactive TTY confirmation phrase, with a clear security warning printed. Until patching is feasible, strictly limit model checkpoint loading to files from verified, integrity-checked sources - avoid loading any checkpoint from public community model hubs, shared storage, or unverified collaborators. As a compensating control, administrators running ESPnet in shared infrastructure should consider sandboxing ESPnet processes (e.g., via container isolation or restricted OS users) so that any code executed via a malicious checkpoint cannot reach sensitive resources. Note that process sandboxing does not prevent code execution - it only limits blast radius.

Affected VersionsENISA

espnet 0 <202609

Affected Packages

euvd espnet fix: 202609

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ESPnet (cpe:2.3:a:espnet:espnet:*:*:*:*:*:*:*:*) is an end-to-end speech processing toolkit built on PyTorch, widely used in academic research and some production deployments for ASR, TTS, and speech language modeling. The vulnerability is rooted in CWE-502: PyTorch's torch.load function, when called with weights_only=False, uses Python's pickle protocol for full checkpoint deserialization. Pickle is inherently unsafe for untrusted data because it evaluates arbitrary Python objects via __reduce__ during deserialization - any object embedded in the checkpoint file can trigger code execution before the model weights are ever inspected. The vulnerable calls were spread across at least four files: espnet2/torch_utils/load_pretrained_model.py (L99, pretrained model loading), espnet2/tasks/abs_task.py (model build and fine-tuning), espnet2/main_funcs/average_nbest_models.py (N-best model averaging), and espnet2/speechlm/bin/inference.py (speech LM inference). The fix introduces a safe_torch_load wrapper that defaults to weights_only=True and gates any unsafe fallback behind an explicit environment variable (ESPNET_ALLOW_UNSAFE_TORCH_LOAD) or interactive TTY confirmation.

Know when Espnet gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Attacker delivers malicious checkpoint remotely; victim must load it (UI:R); successful deserialization yields full code execution (C/I/A:H); scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-502 (Deserialization of Untrusted Data).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

ESPnet, an open-source speech recognition framework deployed across research and production ML pipelines, contains a code execution vulnerability allowing attackers to compromise systems through malicious model checkpoints. While no public exploit has been identified at time of analysis, the underlying attack technique is well-documented in the machine learning security community and requires minimal technical sophistication. Organizations using ESPnet face immediate risk to model infrastructure, training data, and any systems processing the affected deployments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
specialized speech research toolkit, niche production footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy