A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-38824

CVE-2024-38824: SaltStack Salt Path Traversal Flaw

CVE-2024-38824 is a path traversal vulnerability in SaltStack Salt's recv_file method that allows attackers to write arbitrary files to the master cache directory. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2024-38824 Overview

CVE-2024-38824 is a directory traversal vulnerability in SaltStack Salt. The flaw resides in the recv_file method, which fails to validate file paths supplied by minions. An attacker can submit crafted path components to write arbitrary files into the Salt master's cache directory. Because the Salt master trusts files placed in its cache for distribution and execution workflows, this primitive can be abused to overwrite legitimate cached artifacts. The vulnerability is classified under [CWE-22] Path Traversal and is exploitable over the network without authentication or user interaction. SaltStack addressed the issue in Salt versions 3006.12 and 3007.4.

Critical Impact

Network-accessible attackers can write arbitrary files to the Salt master cache directory, compromising the integrity of orchestration data and enabling tampering with files served to managed minions.

Affected Products

  • SaltStack Salt versions prior to 3006.12
  • SaltStack Salt versions prior to 3007.4 in the 3007.x branch
  • Salt master deployments exposing the publish or request server interface

Discovery Timeline

  • 2025-06-13 - CVE-2024-38824 published to NVD
  • 2025-07-10 - Last updated in NVD database

Technical Details for CVE-2024-38824

Vulnerability Analysis

The vulnerability exists in the Salt master's recv_file handler. This method accepts file transfer requests and writes received content into the master cache directory. The handler does not normalize or constrain the destination path before performing the write operation. As a result, path components such as .. traverse outside the intended cache subdirectory. An attacker controlling or impersonating a minion can place files at attacker-chosen locations within the master cache hierarchy. The CWE-22 classification reflects the absence of canonicalization checks on the path argument. EPSS data indicates a 0.378% probability of exploitation within the next 30 days.

Root Cause

The root cause is missing input validation on file path arguments passed to recv_file. The function concatenates caller-supplied path elements with the master cache root without verifying that the resolved path stays within the intended directory. Salt did not apply path canonicalization or boundary checks before invoking the underlying write operation.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. A remote attacker that can reach the Salt master's request server, or a compromised minion authorized to interact with the master, sends a file transfer request containing traversal sequences in the target filename. The master writes the supplied content to the resolved location inside its cache directory. Because Salt distributes files from this cache to managed minions, the attacker can poison artifacts used in subsequent orchestration runs. See the Salt Project Release Notes 3007.4 for technical context.

Detection Methods for CVE-2024-38824

Indicators of Compromise

  • Unexpected files appearing in the Salt master cache directory, typically /var/cache/salt/master/, with timestamps not aligned to legitimate orchestration activity
  • File paths in master logs containing .. traversal sequences or absolute paths in recv_file calls
  • Modifications to cached state files, pillar data, or minion artifacts without a corresponding administrative action

Detection Strategies

  • Audit Salt master logs (/var/log/salt/master) for recv_file entries referencing unusual path components or oversized payloads
  • Apply file integrity monitoring to the master cache directory tree to flag writes that bypass normal Salt workflows
  • Inspect network telemetry on Salt request server ports (default 4506) for unauthenticated or unexpected client connections

Monitoring Recommendations

  • Forward Salt master logs to a centralized logging platform and alert on recv_file invocations containing path separators in the filename argument
  • Baseline the contents of the master cache directory and trigger alerts on out-of-band file creation
  • Track minion authentication events and correlate file transfer activity with legitimate state runs

How to Mitigate CVE-2024-38824

Immediate Actions Required

  • Upgrade Salt master installations to version 3006.12 or 3007.4 or later as published in the vendor advisories
  • Restrict network exposure of the Salt master request server (4506) and publish interface (4505) to known minion subnets only
  • Review the Salt master cache directory for unexpected files and remove any artifacts that cannot be attributed to legitimate state runs

Patch Information

SaltStack released fixed builds in the Salt Project Release Notes 3006.12 and the Salt Project Release Notes 3007.4. The patches add path validation to the recv_file handler to ensure that resolved destinations remain within the master cache directory. Operators running earlier 3006.x or 3007.x builds should plan upgrades immediately.

Workarounds

  • Place the Salt master behind a network access control list that permits only authorized minion IP ranges
  • Rotate minion keys and revoke any keys that cannot be tied to a managed asset before upgrading
  • Enforce host-based file integrity monitoring on the master cache directory until the patched release is deployed
bash
# Example: verify installed Salt version and upgrade on a Debian-based master
salt --version
sudo apt-get update && sudo apt-get install --only-upgrade salt-master
sudo systemctl restart salt-master

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechSaltstack Salt

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.38%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Vendor Resources
  • Salt Project Release Notes 3006.12

  • Salt Project Release Notes 3007.4
  • Related CVEs
  • CVE-2020-11652: SaltStack Salt Path Traversal Vulnerability

  • CVE-2021-25282: SaltStack Salt Path Traversal Flaw

  • CVE-2020-11651: SaltStack Salt Auth Bypass Vulnerability

  • CVE-2020-16846: SaltStack Salt RCE Vulnerability
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