CVE-2026-110644

nodejs-whisper through 0.3.1 OS Command Injection via convertToWavType

Published Oct 14, 2026 CVSS 4.0 · 9.3 Critical EPSS 2.7% KEV · Not listed
Description
nodejs-whisper through 0.3.1 contains an OS command injection vulnerability in convertToWavType() that allows attackers to execute commands by supplying crafted audio file paths. Attackers can provide file names containing $() command substitution or closing quotes, which are interpolated into an ffmpeg command run via shelljs exec(), executing OS commands with Node.js process privileges.

Analysis

AI-generated

Technical impact

nodejs‑whisper up to version 0.3.1 is vulnerable to OS command injection in the convertToWavType() function. The library constructs a ffmpeg command by passing a user‑provided audio file path directly to shelljs exec(). Attackers can craft file names containing shell metacharacters such as $() for command substitution or embedded quotes, which the shell expands and executes. This allows execution of arbitrary operating‑system commands with the privileges of the Node.js process, resulting in a full compromise of the host. The weakness is a classic example of CWE‑78, unchecked command injection.

Affected Systems

The affected product is nodejs‑whisper from the ChetanXpro vendor. Versions up to and including 0.3.1 are impacted. No older or newer releases are listed as affected in the available data.

Risk and Exploitability

The CVSS score of 9.3 indicates a high severity with wide impact on confidentiality, integrity, and availability. The EPSS score of 0.02727 (≈2.7%) suggests a low but non‑zero likelihood of exploitation, meaning attackers may successfully exploit the flaw if they control the audio file path input. The vulnerability is not listed in the CISA KEV catalog, but the remote nature of the flaw combined with the high CVSS score warrants urgent attention. Attackers would need to supply a crafted audio file path to a running instance of nodejs‑whisper; if the application is exposed to untrusted input, the exploitation window expands considerably.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade nodejs‑whisper to the latest release that removes the shelljs exec path construction or applies the upstream fix provided in pull request 259.
  • If an upgrade is not immediately possible, sanitize all file path inputs to convertToWavType() by stripping or escaping shell metacharacters or by validating against a whitelist of safe characters.
  • Re‑implement the ffmpeg invocation using a non‑shell API such as child_process.spawn with an argument array, ensuring no shell interpretation of the file path.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2f48-3555-fpx6 nodejs-whisper allows OS command injection through crafted audio file paths
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Chetanxpro
Chetanxpro nodejs-whisper
Vendors & Products Chetanxpro
Chetanxpro nodejs-whisper
Type Values Removed Values Added
Description nodejs-whisper through 0.3.1 contains an OS command injection vulnerability in convertToWavType() that allows attackers to execute commands by supplying crafted audio file paths. Attackers can provide file names containing $() command substitution or closing quotes, which are interpolated into an ffmpeg command run via shelljs exec(), executing OS commands with Node.js process privileges.
Title nodejs-whisper through 0.3.1 OS Command Injection via convertToWavType
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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 14, 2026, 5:35 PM
Reserved
Oct 14, 2026, 1:07 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 16, 2026, 7:18 PM