ADVISORIES

GitHub Advisory Database

GHSA-2f48-3555-fpx6

nodejs-whisper allows OS command injection through crafted audio file paths

Critical CVE-2026-110644

Details

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.

Affected packages

EcosystemPackageAffected versions
npmnodejs-whisper
All versions before 0.4.0 (fixed in 0.4.0)

References