Skip to content
Noroxi
CVE-2020-16846· NVD / CVE Program· CNA mitre

An issue was discovered in SaltStack Salt through 3002.

An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.

CriticalCVSS 9.8 · v3.1KEVWeaponized Fix available
Published
Nov 6, 2020
Updated
Jun 16, 2026
EPSS
99.6% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

99

Now

Patch today or shut off access.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
30 / 30 · Listed
EPSS
30 / 30 · 99.6%

CISA SSVC decision

Exploitation
active
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Nov 3, 2021. That signals real attacks, not theory.

Remediation deadline for government agencies: May 3, 2022.

Affected systems

VendorProduct
saltstacksalt
debiandebian linux
fedoraprojectfedora
opensuseleap

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux9.0
  • fedoraproject fedora31
  • opensuse leap15.1
  • saltstack saltbefore 2015.8.10
  • saltstack salt2016.3.7 and later · before 2016.3.8
  • saltstack salt2016.11.0 and later · before 2016.11.3
  • saltstack salt2016.11.4 and later · before 2016.11.6
  • saltstack salt2016.11.7 and later · before 2016.11.10
  • saltstack salt2017.5.0 and later · before 2017.7.4
  • saltstack salt2017.7.5 and later · before 2017.7.8
  • saltstack salt2018.2.0 and later · before 2018.3.5
  • saltstack salt2019.2.0 and later · before 2019.2.5
  • saltstack salt3000.0 and later · before 3000.3
  • saltstack salt2015.8.11 and later · before 2015.8.13
  • saltstack salt2016.3.5 and later · before 2016.3.6
  • saltstack salt2016.3.0 and later · before 2016.3.4
  • saltstack salt3001
  • saltstack salt3002

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:10saltbefore 2018.3.4+dfsg1-6+deb10u22018.3.4+dfsg1-6+deb10u2
Debian:9saltbefore 2016.11.2+ds-1+deb9u62016.11.2+ds-1+deb9u6
openSUSE:Leap 15.1saltbefore 3000-lp151.5.30.13000-lp151.5.30.1
openSUSE:Leap 15.2saltbefore 3000-lp152.3.15.13000-lp152.3.15.1
PyPIsaltfrom 2015.8.11 · before 2015.8.132015.8.13
PyPIsaltfrom 2016.11.0 · before 2016.11.32016.11.3
PyPIsaltfrom 2016.11.0 · before 2016.11.102016.11.10
PyPIsaltfrom 2016.11.4 · before 2016.11.62016.11.6
PyPIsaltfrom 2016.11.7 · before 2016.11.102016.11.10
PyPIsaltfrom 2016.3.0 · before 2016.3.42016.3.4
PyPIsaltfrom 2016.3.0 · before 2016.3.82016.3.8
PyPIsaltfrom 2016.3.5 · before 2016.3.62016.3.6
PyPIsaltfrom 2016.3.7 · before 2016.3.82016.3.8
PyPIsaltfrom 2017.5.0 · before 2017.7.82017.7.8
PyPIsaltfrom 2017.7.0 · before 2017.7.42017.7.4
PyPIsaltfrom 2017.7.5 · before 2017.7.82017.7.8
PyPIsaltfrom 2018.2.0 · before 2018.3.52018.3.5
PyPIsaltfrom 2018.3.0rc1 · before 2018.3.52018.3.5
PyPIsaltfrom 2019.2.0 · before 2019.2.52019.2.5
PyPIsaltfrom 2019.2.0 · before 2019.2.62019.2.6
PyPIsaltfrom 3000 · before 3000.33000.3
PyPIsaltfrom 3000.0 · before 3000.43000.4
PyPIsaltfrom 3001 · before 3001.23001.2
PyPIsaltfrom 3002 · before 3002.13002.1

+41

Other highest-scoring records for the same primary product.

  • CVE-2020-11651An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2.KEV
    98Now
  • CVE-2020-11652An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2.KEV
    82Now
  • CVE-2021-25282An issue was discovered in through SaltStack Salt before 3002.5.
    64This week
  • CVE-2021-3197An issue was discovered in SaltStack Salt before 3002.5.
    61This week
  • CVE-2021-25281An issue was discovered in through SaltStack Salt before 3002.5.
    61This week
  • CVE-2020-25592In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens.
    56Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Debian:salt2016.11.2+ds-1+deb9u6 · Debian:9Package registry (OSV)
openSUSE:salt3000-lp152.3.15.1 · openSUSE:Leap 15.2Package registry (OSV)
PyPI:salt2015.8.10Package registry (OSV)
PyPI:salt2015.8.13Package registry (OSV)
PyPI:salt2016.11.10Package registry (OSV)
PyPI:salt2016.11.3Package registry (OSV)
PyPI:salt2016.11.6Package registry (OSV)
PyPI:salt2016.3.4Package registry (OSV)
PyPI:salt2016.3.6Package registry (OSV)
PyPI:salt2016.3.8Package registry (OSV)
PyPI:salt2017.7.4Package registry (OSV)
PyPI:salt2017.7.8Package registry (OSV)
PyPI:salt2018.3.5Package registry (OSV)
PyPI:salt2019.2.5Package registry (OSV)
PyPI:salt2019.2.6Package registry (OSV)
PyPI:salt3000.3Package registry (OSV)
PyPI:salt3000.4Package registry (OSV)
PyPI:salt3001.2Package registry (OSV)
PyPI:salt3002.1Package registry (OSV)
SUSE:bind-formula0.1.1603299886.60e4bcf-3.3.2 · SUSE:Manager Server Module 4.1Package registry (OSV)
SUSE:cobbler2.2.2-0.68.12.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLSPackage registry (OSV)
SUSE:grafana-formula0.3.0-3.3.2 · SUSE:Manager Server Module 4.1Package registry (OSV)
SUSE:image-sync-formula0.1.1602150122.f08af0a-3.6.2 · SUSE:Manager Server Module 4.1Package registry (OSV)
SUSE:mgr-daemon4.1.3-5.20.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLSPackage registry (OSV)
SUSE:prometheus-exporters-formula0.8.0-3.16.2 · SUSE:Manager Server Module 4.1Package registry (OSV)
SUSE:salt2016.11.10-43.63.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLSPackage registry (OSV)
SUSE:spacecmd4.1.8-18.72.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLSPackage registry (OSV)
SUSE:spacewalk-backend4.1.16-4.11.5 · SUSE:Manager Proxy Module 4.1Package registry (OSV)
SUSE:spacewalk-client-tools4.1.7-27.38.1 · SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLSPackage registry (OSV)
SUSE:spacewalk-web4.1.19-3.9.5 · SUSE:Manager Proxy Module 4.1Package registry (OSV)

+1

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Metasploit moduleexploit/linux/http/saltstack_salt_api_cmd_execSaltStack Salt REST API Arbitrary Command Executionexploit2020-11-03
Nuclei detection templateNuclei template CVE-2020-16846 —
Proof-of-concept repository on GitHubstars:02021-10-14
Proof-of-concept repository on GitHubstars:02022-12-12

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Metasploit-3 d
  2. Published
  3. First PoC+342 d
  4. CISA KEV+362 d
  5. TodaySep 29, 2026+2154 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const host = req.body.host;exec("ping -c 1 " + host, onResult);

Fixed

ts
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records