{"id":"GHSA-533p-g2hq-qr26","aliases":["GHSA-533p-g2hq-qr26"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in treekill","summary":"All versions of `treekill` are vulnerable to Command Injection. The package fails to sanitize values passed to the  `kill` function. If this value is user-controlled it  may allow attackers to run arbitrary commands in the server. The issue only affects Windows systems.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `treekill` are vulnerable to Command Injection. The package fails to sanitize values passed to the  `kill` function. If this value is user-controlled it  may allow attackers to run arbitrary commands in the server. The issue only affects Windows systems.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","format":"markdown","source":"ghsa"}],"published":"2020-09-04T17:16:35.000Z","modified":"2020-08-31T18:59:07.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"treekill","purl":"pkg:npm/treekill","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/703415","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1433","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-533p-g2hq-qr26","url":"https://github.com/advisories/GHSA-533p-g2hq-qr26","licence":"CC-BY-4.0","modified":"2020-08-31T18:59:07.000Z"}],"updatedAt":"2026-11-25T22:56:44.104Z"}