AploSec / Disclosures / CVE-2026-110644
nodejs-whisper through 0.3.1 OS Command Injection via convertToWavType
CVE-2026-110644 · published 2026-10-14
Summary
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.
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/nodejs-whisper-through-0.3.1-os-command-injection-via-converttowavtype
- Fix pull requesthttps://github.com/ChetanXpro/nodejs-whisper/pull/259
- Vulnerable codehttps://github.com/ChetanXpro/nodejs-whisper/blob/v0.3.1/src/utils.ts#L58-L59
- Vulnerable codehttps://github.com/ChetanXpro/nodejs-whisper/blob/v0.3.1/src/utils.ts#L76-L77
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110644
- Package
- nodejs-whisper
- Ecosystem
- npm
- Weekly downloads
- 11k
- Affected
- <= 0.3.1
- Fixed
- None
- Weakness
- CWE-78
- CNA
- VulnCheck
- Credit
- Zachariah Mithani