Description
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.
Published: 2026-10-14
Score: 9.3 Critical
EPSS: 2.7% Low
KEV: No
Impact: Remote command execution via OS command injection
Action: Immediate Patch
AI Analysis

Impact

Whisper-node through 1.1.1 is vulnerable to OS command injection because the createCppCommand function concatenates the filePath and whisperOptions.language parameters directly into a shell command that is executed by shelljs exec. This allows an attacker to embed shell metacharacters or $() substitution and have arbitrary commands executed with the same privileges as the Node.js process. The exploit could lead to full compromise of the host system.

Affected Systems

Affected vendor: ariym. Product: whisper-node, version 1.1.1 and prior. Any deployment using that library without a newer release or other mitigations is vulnerable.

Risk and Exploitability

The CVSS score of 9.3 indicates critical severity. The EPSS score of 3% suggests a low but nonzero likelihood of exploitation, yet the use of shelljs exec raises a high risk. The likely attack vector is through any interface that allows an attacker to set filePath or language, such as unauthenticated or authenticated APIs that expose the whisper() function. Based on the description, it is inferred that an attacker could trigger the injection by sending crafted parameters to the API, resulting in a remote command execution with Node.js process privileges.

Generated by OpenCVE AI on October 15, 2026 at 20:58 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched version of whisper-node when the vendor releases one.
  • Add strict input validation to the filePath and language parameters before they are used in createCppCommand, such as whitelisting allowed characters or using a shell-escape library.
  • Restrict use of the whisper() API to authenticated, authorized users only, disallowing unauthenticated calls.
  • Replace shelljs exec() with a safer execution mechanism that does not invoke a shell.

Generated by OpenCVE AI on October 15, 2026 at 20:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Ariym
Ariym whisper-node
Vendors & Products Ariym
Ariym whisper-node

Wed, 14 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Whisper-node through 1.1.1 OS Command Injection via filePath and language
Weaknesses CWE-78
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 9.3, 'vector': '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'}


Subscriptions

Ariym Whisper-node
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T16:08:42.838Z

Reserved: 2026-10-14T13:07:33.433Z

Link: CVE-2026-110640

cve-icon Vulnrichment

Updated: 2026-10-26T16:05:31.977Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:17.277

Modified: 2026-10-26T17:17:15.210

Link: CVE-2026-110640

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T13:08:18Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')