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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2022-22967

CVE-2022-22967: SaltStack Salt Auth Bypass Vulnerability

CVE-2022-22967 is an authentication bypass flaw in SaltStack Salt that allows locked accounts to execute commands. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: May 16, 2026

CVE-2022-22967 Overview

CVE-2022-22967 affects SaltStack Salt versions prior to 3002.9, 3003.5, and 3004.2. The flaw resides in the Pluggable Authentication Modules (PAM) authentication path. Salt's PAM eauth implementation fails to reject locked user accounts during authentication checks. A previously authorized user whose account has since been locked can continue executing Salt commands. The issue impacts both local shell accounts with an active session and salt-api users authenticating through PAM eauth. The weakness maps to CWE-863: Incorrect Authorization. Salt operates as a high-privilege orchestration framework, so unauthorized command execution can extend across every managed minion in the infrastructure.

Critical Impact

A locked or disabled user account retains the ability to execute Salt commands across the master and connected minions, defeating account lifecycle controls.

Affected Products

  • SaltStack Salt versions prior to 3002.9
  • SaltStack Salt 3003 versions prior to 3003.5
  • SaltStack Salt 3004 versions prior to 3004.2

Discovery Timeline

  • 2022-06-23 - CVE-2022-22967 published to the National Vulnerability Database
  • 2023-10 - Gentoo issues GLSA 202310-22 covering the advisory
  • 2025-05-05 - Last updated in NVD database

Technical Details for CVE-2022-22967

Vulnerability Analysis

Salt provides external authentication (eauth) backends that allow operators and API clients to authenticate using existing identity systems. The PAM eauth backend delegates credential verification to the host operating system through Linux PAM. The implementation in affected versions validates only credential correctness and group membership. It does not query the account status flags that PAM exposes through pam_acct_mgmt. As a result, accounts marked as locked, expired, or disabled by an administrator continue to authenticate successfully against the Salt master. The authorization decision relies solely on the eauth ACL, which references the username regardless of its current state in the underlying user database.

Root Cause

The root cause is an incomplete authorization check in the PAM eauth flow. Salt invokes the authentication phase of PAM but skips the account management phase that enforces lockout, expiration, and policy restrictions. The defect is classified as CWE-863: Incorrect Authorization because the system grants access decisions on stale identity assumptions rather than the current account state.

Attack Vector

Exploitation requires that an attacker previously held valid credentials on a Salt master with PAM eauth configured. After administrators lock the account through passwd -l, usermod -L, or equivalent directory operations, the attacker continues to issue authenticated requests to salt-api or runs Salt commands from a local shell session. Successful command execution can target any minion permitted by the user's eauth ACL, providing a path to lateral movement, configuration tampering, and arbitrary code execution on managed hosts.

No verified public proof-of-concept code is available. Refer to the Salt Project Security Advisory for vendor technical details.

Detection Methods for CVE-2022-22967

Indicators of Compromise

  • Successful Salt master authentication events from user principals whose OS account state is L (locked) in passwd -S output.
  • salt-api access logs showing token issuance for usernames that no longer appear in active directory groups or have been disabled.
  • Salt job records (salt-run jobs.list_jobs) initiated by users after their offboarding date in the identity management system.

Detection Strategies

  • Correlate Salt master authentication logs with identity provider lifecycle events to surface authentications by locked or terminated accounts.
  • Run scheduled reconciliation between /etc/shadow lock flags and the eauth user list defined in the Salt master configuration.
  • Hunt for Salt job submissions executed outside of approved change windows by users with recent account state changes.

Monitoring Recommendations

  • Forward salt-master and salt-api logs to a centralized SIEM and alert on authentications by users flagged as disabled in the HR or IAM system.
  • Track use of high-impact Salt modules such as cmd.run, file.write, and state.apply and tie execution back to the originating eauth identity.
  • Audit Salt eauth ACL configuration files (/etc/salt/master.d/*) for stale user entries on a recurring schedule.

How to Mitigate CVE-2022-22967

Immediate Actions Required

  • Upgrade Salt to 3002.9, 3003.5, 3004.2, or later on every Salt master and salt-api host.
  • Remove decommissioned or locked user accounts from the Salt master eauth configuration rather than relying solely on OS-level lockout.
  • Rotate or invalidate existing Salt authentication tokens after upgrading to force re-authentication of all clients.

Patch Information

The Salt Project released fixed builds on June 21, 2022 covering branches 3002.9, 3003.5, and 3004.2. Packages are distributed through the Salt Project Repository. Downstream distribution fixes are tracked in Gentoo GLSA 202310-22. The patch adds account management validation to the PAM eauth flow so locked accounts are rejected during authentication.

Workarounds

  • Disable the PAM eauth module on the Salt master and switch to an authentication backend that enforces full account state checks until patches are applied.
  • Restrict network access to salt-api (default TCP 8000) to a tightly scoped management subnet using host firewalls.
  • Tighten eauth ACLs to limit which Salt modules each user can invoke, reducing the impact of any unauthorized session.
bash
# Verify installed Salt version and apply upgrade
salt --version

# Debian/Ubuntu
sudo apt-get update && sudo apt-get install --only-upgrade salt-master salt-api

# RHEL/CentOS
sudo yum update salt-master salt-api

# Confirm locked accounts are rejected after patching
sudo passwd -l testuser
curl -sSk https://salt-master:8000/login \
  -d username=testuser -d password='Passw0rd!' -d eauth=pam
# Expected response after patch: authentication failure

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSaltstack Salt

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.50%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-863
  • Technical References
  • Salt Project Security Advisory

  • Gentoo GLSA 202310-22
  • Vendor Resources
  • Salt Project Repository
  • Related CVEs
  • CVE-2020-11651: SaltStack Salt Auth Bypass Vulnerability

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

  • CVE-2020-16846: SaltStack Salt RCE Vulnerability

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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