{"id":"GHSA-cff4-rrq6-h78w","aliases":["GHSA-cff4-rrq6-h78w"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in command-exists","summary":"Versions of `command-exists` before 1.2.4 are vulnerable to command injection. This is exploitable if user input is provided to this module.\n\n\n## Recommendation\n\nUpdate to version 1.2.4 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `command-exists` before 1.2.4 are vulnerable to command injection. This is exploitable if user input is provided to this module.\n\n\n## Recommendation\n\nUpdate to version 1.2.4 or later.","format":"markdown","source":"ghsa"}],"published":"2019-06-03T17:31:26.000Z","modified":"2020-08-31T18:31:41.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.4"}],"ecosystem":"npm","package":"command-exists","purl":"pkg:npm/command-exists","source":"ghsa"}],"references":[{"url":"https://github.com/mathisonian/command-exists/commit/7ca91ba71604df6817a28c93d7776af9c49c431a","tags":["web"],"sources":["ghsa"]},{"url":"https://hackerone.com/reports/324453","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mathisonian/command-exists/blob/v1.2.2/lib/command-exists.js#L49-L94","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/659","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cff4-rrq6-h78w","url":"https://github.com/advisories/GHSA-cff4-rrq6-h78w","licence":"CC-BY-4.0","modified":"2020-08-31T18:31:41.000Z"}],"updatedAt":"2026-11-25T22:56:45.080Z"}