AploSec / Disclosures / CVE-2026-110640
Whisper-node through 1.1.1 OS Command Injection via filePath and language
CVE-2026-110640 · published 2026-10-14
Summary
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
- Fix pull requesthttps://github.com/ariym/whisper-node/pull/64
- Vulnerable codehttps://github.com/ariym/whisper-node/blob/c72944cfa48f5c74662ff17ee2dc1d5f7624393e/src/whisper.ts#L8
- Vulnerable codehttps://github.com/ariym/whisper-node/blob/c72944cfa48f5c74662ff17ee2dc1d5f7624393e/src/whisper.ts#L58
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110640
- Package
- whisper-node
- Ecosystem
- npm
- Weekly downloads
- 6k
- Affected
- <= 1.1.1
- Fixed
- None
- Weakness
- CWE-78
- CNA
- VulnCheck
- Credit
- Zachariah Mithani