Skip to main content

whisper-node CVE-2026-110640

| EUVDEUVD-2026-101268 CRITICAL
OS Command Injection (CWE-78)
2026-10-14 VulnCheck GHSA-4wmj-6xhg-gxhm
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted filePath/language to whisper()
  2. Delivery
    Inject $() or shell metacharacters
  3. Exploit
    Unescaped value concatenated by createCppCommand()
  4. Execution
    shelljs exec() runs command string
  5. Impact
    Execute arbitrary OS commands as Node.js process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires an application that calls whisper-node's whisper() function and passes attacker-controlled data into the filePath argument or the whisperOptions.language option (and potentially modelPath); these values flow unescaped into the shell command built by createCppCommand() and executed via shelljs exec(). No special whisper-node configuration is needed - the vulnerable code path is the default in versions through 1.1.1. The key LIMITING factor is that whisper-node is a library, not a network service: it is only remotely exploitable if the embedding application accepts untrusted input for these parameters; applications that use only hard-coded or sanitized paths/languages are not exposed. Impact is bounded by the privileges of the Node.js process.

Impact

This is a genuine high-severity issue for any application that embeds whisper-node, but its real-world risk is gated by how the library is used rather than by the library existing on disk. The vendor CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) and the 9.3 score describe a trivially exploitable, unauthenticated, network-reachable command injection with full VC:H/VI:H/VA:H impact, and the source-code evidence (PR #64) confirms the root cause: user-supplied filePath, modelPath, and whisperOptions.language were interpolated unescaped into a shell command string executed via shelljs exec(). However, whisper-node is a library function, not a listening service - the AV:N/PR:N rating is only realized when the host application forwards untrusted input into whisper(), so the 'unauthenticated network' framing is inherited from a hypothetical calling app, not from whisper-node itself. No EPSS score, KEV listing, or public POC was provided in the input, so there is no signal of active or widespread exploitation; the fix (quoting/shell-escaping via a POSIX single-quote helper) is confirmed available in PR #64. Net assessment: technically critical and easy to exploit where reachable, but likely targeted/opportunistic against specific applications rather than mass-exploited, given the niche footprint and absence of exploitation telemetry.

Exploit ScenarioDerived

An application uses whisper-node to transcribe audio and passes a user-controlled filename or a 'language' option straight into whisper(). An attacker submits a value such as a filePath or language containing shell metacharacters or $(...) command substitution, which is concatenated into the './main ... -f <filePath>' command and executed by shelljs exec(), running arbitrary OS commands with the Node.js process privileges. No public exploit was identified at time of analysis, but the injection point is confirmed by the vendor patch diff.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 2.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 14, 2026

OS command injection in the whisper-node npm package through version 1.1.1 allows remote, unauthenticated attackers to run arbitrary shell commands with the privileges of the embedding Node.js process whenever an application passes attacker-controlled data into whisper()'s filePath argument or the whisperOptions.language (and potentially modelPath) options. The vulnerable code path is the default in all versions up to and including 1.1.1, with no special configuration required, although real-world exposure is gated by how the library is used: whisper-node is a library, not a network service, so only applications that feed it untrusted input are remotely exploitable, and impact is bounded by the Node.js process privileges. No public exploit code has been identified at time of analysis, and there is no indication of confirmed active exploitation (CISA KEV); the upstream fix appears in GitHub PR #64 but a released patched version could not be independently confirmed from the available data.

RemediationAI

The upstream fix is the escaping change in GitHub PR #64 (https://github.com/ariym/whisper-node/pull/64), which introduces a shellEscape() helper applying POSIX single-quote escaping to filePath, modelPath, and language before they are concatenated into the shell command; because that reference points to a pull request rather than a tagged release, treat this as upstream fix available (PR/commit) with a released patched version not independently confirmed, and verify the registry version actually contains the escaping change before relying on it. If an upgrade cannot be validated immediately, apply compensating controls at the call site: treat filePath, modelPath, and language as untrusted and enforce a strict allowlist - resolve filePath with path.resolve() against a fixed media directory and reject any value containing shell metacharacters (;, |, &, `, $, (, ), newline), and constrain language to a fixed set of ISO codes rather than free text; this blocks the injection but will reject legitimate filenames containing such characters, so normalization or renaming may be needed. Additionally, run the Node.js process that invokes whisper() as a low-privilege, containerized user with a read-only filesystem and no access to credentials or the host shell, which limits blast radius if an injection still succeeds - though it does not eliminate the flaw. Consult the vendor advisory at https://www.vulncheck.com/advisories/whisper-node-through-1.1.1-os-command-injection-via-filepath-and-language and the affected source at https://github.com/ariym/whisper-node/blob/c72944cfa48f5c74662ff17ee2dc1d5f7624393e/src/whisper.ts#L58 for confirmation of scope.

Affected VersionsENISA

whisper-node 0 ≤1.1.1

Affected Packages

euvd whisper_node no fix

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

whisper-node is a Node.js wrapper that shells out to a compiled whisper.cpp binary, constructing its command line in createCppCommand() as ./main ${getFlags(options)} -m ${modelPathOrName(...)} -f ${filePath} and executing the result through shelljs exec(). Because filePath, language, and modelPath are interpolated into that string without escaping, any shell metacharacters they contain (;, |, &, backticks, newlines, or $() substitution) are interpreted by the underlying POSIX shell rather than treated as literal arguments - the classic CWE-78 OS command injection root cause. The referenced source lines (src/whisper.ts line 8 and line 58 at commit c72944c) show the command construction and flag assembly, and the packaged 1.1.1 build on unpkg reproduces the same behavior. The upstream patch in PR #64 addresses the root cause by adding a shellEscape() helper that wraps each interpolated value in POSIX single quotes and escapes embedded single quotes, and by dropping the previous path.normalize("${filePath}") double-quoting approach for filePath and modelPath. This is a library-level defect: exploitation depends on a host application forwarding untrusted input into these parameters, not on any network listener exposed by whisper-node itself.

Know when Node.js 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 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Command injection flowing from a typical network-facing app into whisper() yields AV:N/AC:L/PR:N; code execution as the Node process gives C:H/I:H/A:H with scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/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
None
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

Whisper-node through 1.1.1 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted filePath or whisperOptions.language values to whisper(). Attackers can inject shell metacharacters or $() substitution into the command string built by createCppCommand() and run via shelljs exec() to execute commands with Node.js process privileges.

Executive ViewAI

Why It Matters

Organizations using the whisper-node npm package (versions up to and including 1.1.1) in Node.js applications that process untrusted input face a critical command-injection risk that could let an attacker execute arbitrary shell commands with the application process's privileges. Because exposure depends on how each application passes data into whisper(), leadership should prioritize identifying affected workloads and enforcing least privilege until a confirmed patched release is deployed. If exploited in an internet-facing or otherwise untrusted context, this flaw could lead to server compromise, data theft, or service disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
2.7%
Top 14% exploitable
Prevalence
Low
niche npm whisper.cpp wrapper, limited production footprint
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 2.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: +3
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

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