CVE-2020-8149 Arbitrary shell command execution in logkitty

Critical 9.8 Published Updated

Attackers can execute arbitrary shell commands via the logkitty npm package due to lack of output sanitization.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-8149?

CVE-2020-8149 is a critical command injection vulnerability in logkitty, published on 15 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Lack of output sanitization allowed an attack to execute arbitrary shell commands via the logkitty npm package before version 0.7.1.

Weakness: CWE-94

Which versions are affected by CVE-2020-8149?

2 open source packages ship an affected version, including logkitty. It affects 1 product.

PackageAffectedFixed in
logkitty npmAll versions0.7.1
logkitty npmAll versions0.7.1

Products include Logkitty Project Logkitty.

How do I fix CVE-2020-8149?

Upgrade logkitty to 0.7.1 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-8149 being exploited?

There is no known exploitation of CVE-2020-8149 in the wild and no public exploit code.

Sources

Also known as CLSA-2026-1792489426, GHSA-v8v8-6859-qxm4.

Is CVE-2020-8149 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free