GHSA-cff4-rrq6-h78w
CRITICALCommand Injection in command-exists
Versions of command-exists before 1.2.4 are vulnerable to command injection. This is exploitable if user input is provided to this module.
Recommendation
Update to version 1.2.4 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | command-exists | < 1.2.4 | 1.2.4 |
References
- https://github.com/mathisonian/command-exists/commit/7ca91ba71604df6817a28c93d7776af9c49c431a · WEB
- https://hackerone.com/reports/324453 · WEB
- https://github.com/mathisonian/command-exists/blob/v1.2.2/lib/command-exists.js#L49-L94 · WEB
- https://www.npmjs.com/advisories/659 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Jun 2019)