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

CVE-2026-22249: Docmost Path Traversal Vulnerability

CVE-2026-22249 is a path traversal flaw in Docmost that allows arbitrary file write via zip import feature. Affecting versions 0.21.0 to 0.24.0, this article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-22249 Overview

CVE-2026-22249 is a critical Path Traversal vulnerability affecting Docmost, an open-source collaborative wiki and documentation software. The vulnerability exists in the Zip Import Feature and allows attackers to perform arbitrary file writes through a ZipSlip attack. Due to missing filename validation in apps/server/src/integrations/import/utils/file.utils.ts, malicious zip archives containing path traversal sequences can write files to arbitrary locations on the server filesystem.

Critical Impact

This vulnerability allows unauthenticated attackers to achieve arbitrary file write capabilities on the server, potentially leading to remote code execution through overwriting critical system files or application components.

Affected Products

  • Docmost versions 0.21.0 through 0.23.x
  • Docmost installations utilizing the Zip Import Feature
  • Self-hosted Docmost deployments

Discovery Timeline

  • 2026-01-15 - CVE CVE-2026-22249 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2026-22249

Vulnerability Analysis

The ZipSlip vulnerability in Docmost represents a classic case of insufficient input validation during archive extraction. When users import content via zip files, the application extracts the archive contents without validating the filenames for path traversal sequences such as ../. This allows attackers to craft malicious zip archives where filenames contain directory traversal sequences, enabling file writes outside the intended extraction directory.

The vulnerability is particularly severe because it requires no authentication and can be exploited remotely over the network. Successful exploitation could allow an attacker to overwrite application configuration files, inject malicious code into web-accessible directories, or replace system binaries to achieve remote code execution.

Root Cause

The root cause of this vulnerability lies in the file.utils.ts file located at apps/server/src/integrations/import/utils/file.utils.ts. The file extraction logic fails to validate or sanitize filenames extracted from zip archives. When processing zip entries, the application directly uses the filename from the archive without checking for path traversal sequences like ../ or absolute paths. This allows malicious archive entries to escape the intended extraction directory and write files to arbitrary locations on the filesystem.

Attack Vector

The attack vector is network-based and can be executed without authentication. An attacker crafts a malicious zip archive containing files with specially crafted filenames that include path traversal sequences (e.g., ../../../etc/cron.d/malicious). When a user or automated process imports this zip file through Docmost's import feature, the application extracts files to unintended locations on the server filesystem.

The attack sequence involves creating a zip archive with entries containing traversal paths, uploading the malicious archive through the Docmost import functionality, and waiting for the extraction process to write files outside the designated directory. Depending on the server configuration and file permissions, this could lead to configuration tampering, web shell deployment, or system compromise.

Detection Methods for CVE-2026-22249

Indicators of Compromise

  • Unexpected files appearing in system directories outside Docmost's data directory
  • Modified configuration files with recent timestamps that don't correspond to legitimate administrative activity
  • Web shells or suspicious script files in web-accessible directories
  • Anomalous zip file uploads containing unusual filename patterns with ../ sequences

Detection Strategies

  • Monitor file system operations for writes outside the expected Docmost data directories during import operations
  • Implement web application firewall (WAF) rules to inspect uploaded zip file contents for path traversal patterns
  • Enable detailed logging for the Docmost import feature and review logs for unusual extraction patterns
  • Deploy file integrity monitoring (FIM) on critical system directories to detect unauthorized modifications

Monitoring Recommendations

  • Configure alerts for file creation events in sensitive directories such as /etc, web roots, and application directories
  • Monitor Docmost application logs for import operations involving large numbers of files or unusual file paths
  • Implement network traffic analysis to detect zip file uploads with anomalous internal structure
  • Review periodic file system integrity checks for unexpected file additions or modifications

How to Mitigate CVE-2026-22249

Immediate Actions Required

  • Upgrade Docmost to version 0.24.0 or later immediately
  • Audit recently imported zip files and verify no unauthorized files were written to the system
  • Review file system for any suspicious files that may have been written through exploitation
  • Restrict access to the Docmost import feature until patching is complete

Patch Information

Docmost has released version 0.24.0 which addresses this vulnerability by implementing proper filename validation during zip extraction. The fix is available through the GitHub Security Advisory GHSA-54pm-hqxm-54wg and the specific commit c3b350d943108552e20654580005cd6f6c78ab05. Organizations should update to version 0.24.0 through the official release as soon as possible.

Workarounds

  • Disable the zip import feature temporarily if upgrading is not immediately possible
  • Implement network-level controls to restrict access to the import functionality to trusted users only
  • Deploy a reverse proxy with content inspection to filter zip uploads containing path traversal patterns
  • Run Docmost in a containerized environment with restricted filesystem access 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/TechDocmost

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.05%

  • 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
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Pull Request

  • GitHub Release v0.24.0
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-54pm-hqxm-54wg
  • Related CVEs
  • CVE-2026-24045: Docmost Stored XSS Vulnerability

  • CVE-2026-23630: Docmost Mermaid Stored XSS Vulnerability
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