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.
Published: 2026-10-14
Score: 9.3 Critical
EPSS: 2.7% Low
KEV: No
Impact: Remote Command Execution
Action: Immediate Patch
AI Analysis

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.

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

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

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

Type Values Removed Values Added
First Time appeared Chetanxpro
Chetanxpro nodejs-whisper
Vendors & Products Chetanxpro
Chetanxpro nodejs-whisper

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

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'}


Subscriptions

Chetanxpro Nodejs-whisper
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T17:35:48.971Z

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

Link: CVE-2026-110644

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-16T19:18:44.867

Link: CVE-2026-110644

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-78

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