The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-16846

CVE-2020-16846: SaltStack Salt RCE Vulnerability

CVE-2020-16846 is a remote code execution vulnerability in SaltStack Salt that allows shell injection via crafted web requests to the Salt API. This article covers technical details, affected versions, impact, and mitigation.

Published: March 11, 2026

CVE-2020-16846 Overview

CVE-2020-16846 is a critical shell injection vulnerability discovered in SaltStack Salt through version 3002. The vulnerability allows unauthenticated remote attackers to execute arbitrary operating system commands by sending specially crafted web requests to the Salt API when the SSH client feature is enabled. This command injection flaw (CWE-78) represents a severe security risk for organizations using SaltStack Salt for infrastructure automation and configuration management.

Critical Impact

This vulnerability enables unauthenticated remote code execution through shell injection in the Salt API, allowing complete system compromise. CISA has added this vulnerability to the Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild.

Affected Products

  • SaltStack Salt through version 3002 (including versions 3001, 3002, and earlier)
  • Debian Linux 9.0 and 10.0
  • Fedora 31
  • openSUSE Leap 15.1

Discovery Timeline

  • November 3, 2020 - SaltStack publicly disclosed CVE-2020-16846 along with two other CVEs
  • November 6, 2020 - CVE-2020-16846 published to NVD
  • November 7, 2025 - Last updated in NVD database

Technical Details for CVE-2020-16846

Vulnerability Analysis

This shell injection vulnerability exists in SaltStack Salt's REST API implementation when the SSH client functionality is enabled. The flaw stems from improper input validation and sanitization of user-supplied data within API requests. When an attacker sends a crafted web request to the Salt API endpoint, the malicious input is passed directly to shell commands without adequate escaping or validation, enabling arbitrary command execution on the underlying operating system.

The vulnerability is particularly dangerous because it can be exploited remotely over the network without requiring any authentication credentials. The Salt API, designed to provide programmatic access to Salt functionality, becomes a direct attack vector when SSH client features are active. Successful exploitation grants attackers the same privileges as the Salt master process, which typically runs with elevated permissions.

Root Cause

The root cause of CVE-2020-16846 is improper neutralization of special elements used in an OS command (CWE-78). The Salt API fails to properly sanitize input parameters before incorporating them into shell commands executed via the SSH client functionality. User-controlled data containing shell metacharacters (such as semicolons, pipes, backticks, or command substitution syntax) is processed without escaping, allowing attackers to break out of the intended command context and inject arbitrary commands.

Attack Vector

The attack vector for this vulnerability is network-based, targeting the Salt API's HTTP/HTTPS endpoints. An attacker can exploit this vulnerability by:

  1. Identifying exposed Salt API instances with SSH client functionality enabled
  2. Crafting malicious HTTP requests containing shell injection payloads in vulnerable parameters
  3. Sending the crafted requests to the Salt API endpoint
  4. The injected commands execute on the Salt master server with its associated privileges

The vulnerability requires no authentication, no user interaction, and has low attack complexity, making it highly exploitable. Attackers can achieve full system compromise, including data exfiltration, lateral movement, and persistent backdoor installation.

Technical details regarding the specific exploitation methodology can be found in the Packet Storm Exploit Report and the Zero Day Initiative Advisory ZDI-20-1379.

Detection Methods for CVE-2020-16846

Indicators of Compromise

  • Unexpected process executions spawned by the Salt master process or salt-api service
  • Anomalous outbound network connections originating from Salt infrastructure servers
  • Suspicious command patterns in system logs containing shell metacharacters (;, |, $(), backticks)
  • Unusual HTTP requests to Salt API endpoints with encoded or obfuscated payloads in request parameters

Detection Strategies

  • Monitor Salt API access logs for requests containing shell metacharacters or encoded injection payloads
  • Implement network intrusion detection rules to identify exploitation attempts targeting Salt API endpoints
  • Deploy endpoint detection solutions to monitor for anomalous child processes spawned by Salt services
  • Review authentication logs for unexpected API access patterns or requests from untrusted IP addresses

Monitoring Recommendations

  • Enable comprehensive logging for Salt API requests including full request bodies and parameters
  • Configure SIEM alerts for command injection attack patterns targeting Salt infrastructure
  • Implement baseline monitoring of Salt master process behavior to detect deviation from normal operations
  • Monitor for indicators of post-exploitation activity such as new user creation, SSH key installation, or cron job modifications

How to Mitigate CVE-2020-16846

Immediate Actions Required

  • Upgrade SaltStack Salt to a patched version immediately (versions released after November 3, 2020)
  • If immediate patching is not possible, disable the Salt API or restrict access to trusted networks only
  • Audit Salt infrastructure for signs of compromise before and after patching
  • Implement network segmentation to limit exposure of Salt API endpoints

Patch Information

SaltStack released security patches addressing CVE-2020-16846 on November 3, 2020. Organizations should update to patched versions as documented in the SaltStack CVEs Disclosure Blog. Updated packages are also available through distribution repositories:

  • Debian: Security advisory DSA-4837 and Debian LTS announcements
  • Fedora: Package updates available
  • openSUSE: Security announcement
  • Gentoo: GLSA 202011-13

Workarounds

  • Disable the Salt API service entirely if not required for operations (systemctl stop salt-api && systemctl disable salt-api)
  • Configure firewall rules to restrict Salt API access to trusted management networks only
  • Disable SSH client functionality in Salt configuration if not actively used
  • Place Salt API endpoints behind a reverse proxy with strict input validation and web application firewall rules
bash
# Restrict Salt API access via firewall (iptables example)
# Allow Salt API access only from trusted management subnet
iptables -A INPUT -p tcp --dport 8000 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8000 -j DROP

# Disable Salt API service if not required
systemctl stop salt-api
systemctl disable salt-api

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSaltstack Salt

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.39%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-78
  • Technical References
  • openSUSE Security Announcement

  • Packet Storm Exploit Report

  • GitHub SaltStack Releases

  • Debian LTS Security Announcement

  • Debian LTS Security Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202011-13

  • Debian DSA-4837 Security Notice

  • Zero Day Initiative Advisory ZDI-20-1379

  • Zero Day Initiative Advisory ZDI-20-1380

  • Zero Day Initiative Advisory ZDI-20-1381

  • Zero Day Initiative Advisory ZDI-20-1382

  • Zero Day Initiative Advisory ZDI-20-1383

  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • SaltStack CVEs Disclosure Blog
  • Related CVEs
  • CVE-2020-11651: SaltStack Salt Auth Bypass Vulnerability

  • CVE-2020-11652: SaltStack Salt Path Traversal Vulnerability

  • CVE-2022-22967: SaltStack Salt Auth Bypass Vulnerability

  • CVE-2023-20898: SaltStack Salt Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English