LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2020-16846: SaltStack Salt Shell Injection Vulnerability

RBRecent Breaches Vulnerability Intelligence·Nov 3, 2021
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
May 3, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2020-16846 to its Known Exploited Vulnerabilities catalog on Nov 3, 2021, with a federal patch deadline of May 3, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

SaltStack Salt allows an unauthenticated user with network access to the Salt API to use shell injections to run code on the Salt API using the SSH client. This vulnerability affects any users running…

CVE-2020-16846 is a shell injection vulnerability in SaltStack Salt that lets an unauthenticated attacker with network reach to the Salt API execute code on the Salt API host through the SSH client. It matters because any environment running the Salt API is in scope: successful abuse can give an outsider control over the management plane that orchestrates configuration and commands across your infrastructure.

Defenders should treat exposure of the Salt API as high priority until the vendor update is applied and confirmed. Specifics such as exact affected releases must be checked against the vendor advisory.

How it works

The weakness is CWE-78 (OS command injection). SaltStack Salt’s Salt API accepts input that is later passed to the SSH client without adequate sanitization. An unauthenticated user who can reach the API over the network can craft requests that inject shell metacharacters, causing the API process to execute attacker-chosen commands in the context of the Salt API service.

No authentication is required; network access alone is sufficient. The result is arbitrary code execution on the host running the Salt API. Exact request formats and parameters are not detailed here; consult the vendor advisory for the precise attack surface.

Am I affected? How to find it in your systems

SaltStack Salt is commonly deployed as a configuration-management and remote-execution platform. The Salt API component is often exposed on management networks or, less securely, on broader internal or external interfaces. Any installation that runs the Salt API is potentially affected.

Inventory steps:

Telemetry signs of exploitation are typical of command-injection activity: unexpected child processes spawned by the Salt API service, unusual SSH client invocations originating from the API process, or anomalous API request patterns in access logs. Correlate these with external connection attempts to the API endpoint. Absence of such logs does not prove safety; many environments do not log the necessary detail by default.

How to remediate

Apply the updates supplied by the vendor exactly as described in the official advisory. CISA’s required action is to apply updates per vendor instructions. After patching, restart the Salt API service and verify the new version is running.

Additional hardening for this class of flaw:

If you can't patch immediately

Until the vendor update can be installed, reduce exposure with compensating controls:

These measures lower risk but do not eliminate it; schedule the official patch as soon as possible.

If your data may have been exposed

Actively exploited management-plane vulnerabilities frequently lead to follow-on compromise and data exposure. If you have evidence of exploitation or simply want to check whether credentials or addresses tied to your organization already appear in known breach data, run a free exposure scan of your email addresses against published breach corpora. Rotate any Salt or infrastructure credentials that may have been accessible from the affected host, and continue incident-response investigation according to your internal procedures. Ransomware use specifically tied to this CVE is not documented in the provided facts.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedSaltStack · Salt
WeaknessCWE-78
Added to CISA KEVNov 3, 2021
Federal patch deadlineMay 3, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities