# GHSA-533p-g2hq-qr26: Command Injection in treekill

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-04T17:16:35.000Z
- Modified: 2020-08-31T18:59:07.000Z
- Weaknesses: CWE-77

## Description

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.


## Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

(As written by GitHub Advisory Database.)

## Affected

- treekill (npm): from 0.0.0

## References

- <https://hackerone.com/reports/703415> (web)
- <https://www.npmjs.com/advisories/1433> (web)

## Sources

- GitHub Advisory Database: [GHSA-533p-g2hq-qr26](https://github.com/advisories/GHSA-533p-g2hq-qr26), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-533p-g2hq-qr26 · Whole record: https://cve.day/GHSA-533p-g2hq-qr26.json · Rebuilt by cve.day 2026-11-25T22:56:44.104Z
