chetanxpro/nodejs-whisper · Security
nodejs-whisper allows OS command injection through crafted audio file paths
- GHSA ID
- GHSA-2f48-3555-fpx6
- CVE ID
- CVE-2026-110644
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · 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
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.
CWEs
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-110644 ↗
- https://github.com/ChetanXpro/nodejs-whisper/pull/259 ↗
- https://github.com/ChetanXpro/nodejs-whisper/blob/v0.3.1/src/utils.ts#L58-L59 ↗
- https://github.com/ChetanXpro/nodejs-whisper/blob/v0.3.1/src/utils.ts#L76-L77 ↗
- https://www.vulncheck.com/advisories/nodejs-whisper-through-0.3.1-os-command-injection-via-converttowavtype ↗
- https://github.com/ChetanXpro/nodejs-whisper/pull/270 ↗
- https://github.com/ChetanXpro/nodejs-whisper/commit/957fd84da217dd8c6265418e938a77db0e2c2ae7 ↗
- https://github.com/ChetanXpro/nodejs-whisper/commit/d93780c9164be5f7e0b2f4094005378923659ce5 ↗
- https://github.com/ChetanXpro/nodejs-whisper/releases/tag/v0.4.0 ↗
- https://github.com/advisories/GHSA-2f48-3555-fpx6 ↗