# CVE-2026-110640: Whisper-node through 1.1.1 OS Command Injection via filePath and language

Source: https://aplosec.si/cve/CVE-2026-110640/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-110640

Critical 9.3 · Reproduced · No fix listed · CWE-78 · npm

# Whisper-node through 1.1.1 OS Command Injection via filePath and language

CVE-2026-110640 · published 2026-10-14

In plain words: this type of bug lets someone run their own commands on the server (command injection). No fixed release is listed yet.

## Summary

CVE-2026-110640 affects whisper-node (npm) <= 1.1.1: Command injection via filePath and language (CWE-78). No fixed release is listed. CVSS 4.0 base score 9.3 (Critical), assigned by VulnCheck. Published 2026-10-14 by VulnCheck. Credit: Zachariah Mithani.

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.

## Evidence

The exploit was run against the published artifact from the registry, not the repository. It created a marker file; a benign input through the same sink in the same session did not.

## Remediation

No fixed release was published at disclosure. Don't pass untrusted file names or strings to the affected functions, or apply the patch from the fix pull request.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/whisper-node-through-1.1.1-os-command-injection-via-filepath-and-language](https://www.vulncheck.com/advisories/whisper-node-through-1.1.1-os-command-injection-via-filepath-and-language)

- [Fix pull requesthttps://github.com/ariym/whisper-node/pull/64](https://github.com/ariym/whisper-node/pull/64)

- [Vulnerable codehttps://github.com/ariym/whisper-node/blob/c72944cfa48f5c74662ff17ee2dc1d5f7624393e/src/whisper.ts#L8](https://github.com/ariym/whisper-node/blob/c72944cfa48f5c74662ff17ee2dc1d5f7624393e/src/whisper.ts#L8)

- [Vulnerable codehttps://github.com/ariym/whisper-node/blob/c72944cfa48f5c74662ff17ee2dc1d5f7624393e/src/whisper.ts#L58](https://github.com/ariym/whisper-node/blob/c72944cfa48f5c74662ff17ee2dc1d5f7624393e/src/whisper.ts#L58)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110640](https://www.cve.org/CVERecord?id=CVE-2026-110640)

**Severity:** Critical 9.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-110640)

**Package:** whisper-node

**Ecosystem:** npm

**Affected:** <= 1.1.1

**Fixed:** None

**Weakness:** CWE-78

**CNA:** VulnCheck

**Credit:** Zachariah Mithani finder
