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-2026-40163

CVE-2026-40163: Saltcorn Path Traversal Vulnerability

CVE-2026-40163 is a path traversal vulnerability in Saltcorn that allows unauthenticated attackers to create arbitrary directories and read files on the server. This article covers the technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-40163 Overview

CVE-2026-40163 is a path traversal vulnerability affecting Saltcorn, an extensible, open source, no-code database application builder. The vulnerability exists in the sync API endpoints and allows unauthenticated attackers to perform unauthorized file system operations. Specifically, the POST /sync/offline_changes endpoint enables arbitrary directory creation and file writing, while the GET /sync/upload_finished endpoint permits directory listing and reading of JSON files anywhere on the server filesystem.

Critical Impact

Unauthenticated attackers can create arbitrary directories, write malicious JSON files to any location on the server, and enumerate sensitive file system contents without any authentication.

Affected Products

  • Saltcorn versions prior to 1.4.5
  • Saltcorn versions prior to 1.5.5
  • Saltcorn versions prior to 1.6.0-beta.4

Discovery Timeline

  • April 10, 2026 - CVE-2026-40163 published to NVD
  • April 13, 2026 - Last updated in NVD database

Technical Details for CVE-2026-40163

Vulnerability Analysis

This vulnerability is classified under CWE-22 (Path Traversal) and stems from insufficient path validation in Saltcorn's synchronization API endpoints. The application fails to properly sanitize user-controlled input that specifies file paths, allowing attackers to traverse directory structures using sequences like ../ to escape intended directories.

The vulnerability exposes two distinct attack surfaces. First, the POST /sync/offline_changes endpoint accepts user input that ultimately determines where a changes.json file is written on the filesystem. By manipulating this input with path traversal sequences, an attacker can write attacker-controlled JSON content to arbitrary locations. Second, the GET /sync/upload_finished endpoint similarly fails to validate path parameters, enabling attackers to list directory contents and read JSON files from any accessible path on the server.

This combination of arbitrary file write and information disclosure capabilities presents significant risk, as attackers could potentially overwrite critical configuration files, inject malicious content into web-accessible directories, or exfiltrate sensitive data from the server.

Root Cause

The root cause is improper input validation in the sync API endpoints. The application does not adequately sanitize or validate user-supplied path components before using them in filesystem operations. This allows path traversal sequences (such as ../) to be processed, enabling access to directories outside the intended scope of the synchronization feature.

Attack Vector

The attack is conducted over the network without requiring any authentication. An attacker can exploit this vulnerability by sending crafted HTTP requests to the vulnerable endpoints:

  1. Arbitrary File Write: By sending a malicious POST request to /sync/offline_changes with path traversal sequences in the relevant parameters, an attacker can force the server to create directories and write a changes.json file with attacker-controlled content to arbitrary filesystem locations.

  2. Information Disclosure: By sending a crafted GET request to /sync/upload_finished with traversal sequences, an attacker can enumerate directory contents and read JSON files from locations outside the intended sync directory.

The attack requires no user interaction and can be performed remotely by any network-accessible attacker, making this a significant security concern for internet-facing Saltcorn deployments.

Detection Methods for CVE-2026-40163

Indicators of Compromise

  • Unexpected changes.json files appearing in directories outside the normal Saltcorn data paths
  • HTTP access logs showing requests to /sync/offline_changes or /sync/upload_finished endpoints with path traversal patterns (e.g., ../, ..%2f, %2e%2e/)
  • Newly created directories with suspicious naming patterns or in unexpected filesystem locations
  • Evidence of unauthorized file reads or directory listings in web server logs

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block path traversal sequences in request parameters targeting /sync/ endpoints
  • Monitor HTTP request logs for patterns containing encoded or unencoded directory traversal sequences
  • Deploy file integrity monitoring (FIM) on critical system directories to detect unauthorized file creation or modification
  • Review access logs for unauthenticated requests to the sync API endpoints from unexpected IP addresses

Monitoring Recommendations

  • Enable detailed logging for the Saltcorn application, particularly for sync-related operations
  • Set up alerts for any filesystem modifications outside designated data directories
  • Monitor for abnormal patterns in API endpoint usage, especially from unauthenticated sources
  • Regularly audit the filesystem for unexpected changes.json files in non-standard locations

How to Mitigate CVE-2026-40163

Immediate Actions Required

  • Upgrade Saltcorn to version 1.4.5, 1.5.5, or 1.6.0-beta.4 immediately to address this vulnerability
  • If immediate patching is not possible, restrict network access to the /sync/offline_changes and /sync/upload_finished endpoints using firewall rules or reverse proxy configuration
  • Audit the filesystem for any unexpected changes.json files that may indicate prior exploitation
  • Review access logs for evidence of exploitation attempts against the vulnerable endpoints

Patch Information

The Saltcorn development team has released security patches addressing this vulnerability in versions 1.4.5, 1.5.5, and 1.6.0-beta.4. Organizations should upgrade to one of these patched versions based on their current deployment track. For detailed information about the fix, refer to the GitHub Security Advisory.

Workarounds

  • Block or restrict access to the /sync/offline_changes and /sync/upload_finished endpoints at the network level using firewall rules or reverse proxy configurations
  • Implement authentication requirements for the sync API endpoints if the application supports such customization
  • Deploy a web application firewall (WAF) with rules to detect and block path traversal attempts
  • Run the Saltcorn application with minimal filesystem permissions to limit the impact of potential exploitation

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechSaltcorn

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-41478: Saltcorn SQL Injection 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