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-34213

CVE-2026-34213: Docmost Authorization Bypass Vulnerability

CVE-2026-34213 is an authorization bypass flaw in Docmost that allows authenticated users to overwrite attachments without proper authorization. This article covers technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-34213 Overview

CVE-2026-34213 is an improper authorization vulnerability in Docmost, an open-source collaborative wiki and documentation software. Starting in version 0.3.0 and prior to version 0.71.0, a low-privileged authenticated user can overwrite another page's attachment within the same workspace by supplying a victim attachmentId to POST /api/files/upload. This is a remote integrity issue requiring no victim interaction.

Critical Impact

Authenticated attackers can overwrite attachments belonging to other users within the same workspace, potentially destroying or replacing legitimate documents with malicious content without any user interaction required.

Affected Products

  • Docmost versions 0.3.0 through 0.70.x
  • Docmost collaborative wiki instances with multi-user workspaces
  • Self-hosted and cloud deployments running vulnerable versions

Discovery Timeline

  • April 14, 2026 - CVE CVE-2026-34213 published to NVD
  • April 14, 2026 - Last updated in NVD database

Technical Details for CVE-2026-34213

Vulnerability Analysis

This vulnerability is classified as CWE-639 (Authorization Bypass Through User-Controlled Key). The flaw exists in the file upload endpoint where the application fails to properly verify that the authenticated user has ownership or appropriate permissions over the target attachment before allowing an overwrite operation.

When a user submits a file upload request to /api/files/upload, they can specify an arbitrary attachmentId parameter. The application accepts this user-controlled identifier without validating whether the requesting user owns or has write access to the referenced attachment. This allows any authenticated user within a workspace to target and overwrite attachments belonging to other users.

The vulnerability requires network access and low-privilege authentication, making it exploitable by any user with basic workspace access. No victim interaction is necessary for successful exploitation, as the attacker simply needs to know or enumerate valid attachmentId values within their workspace.

Root Cause

The root cause is an insecure direct object reference (IDOR) vulnerability in the file upload handler. The application trusts the user-supplied attachmentId parameter without implementing proper authorization checks to verify the requesting user's relationship to the target attachment. This design flaw allows horizontal privilege escalation where users can manipulate resources belonging to other users at the same privilege level.

Attack Vector

The attack is conducted over the network by an authenticated user with low privileges. An attacker would:

  1. Authenticate to a Docmost workspace with any valid user credentials
  2. Identify or enumerate valid attachmentId values belonging to other users
  3. Craft a POST request to /api/files/upload with the victim's attachmentId
  4. Submit a malicious or replacement file that overwrites the original attachment

The vulnerability allows attackers to corrupt document integrity by replacing legitimate attachments with arbitrary content, potentially embedding malicious files or destroying important documentation. Since no user interaction is required, victims may not immediately notice their attachments have been compromised.

Detection Methods for CVE-2026-34213

Indicators of Compromise

  • Unexpected changes to attachment files with no corresponding user activity in audit logs
  • Multiple file upload requests to /api/files/upload containing attachmentId values owned by different users
  • Attachment modification timestamps that do not correlate with legitimate owner activity
  • User reports of corrupted or replaced document attachments

Detection Strategies

  • Monitor file upload API requests for attachmentId parameters that reference attachments not owned by the authenticated user
  • Implement anomaly detection for unusual patterns of attachment modifications within workspaces
  • Review web server and application logs for suspicious POST /api/files/upload activity patterns
  • Deploy application-layer monitoring to detect authorization bypass attempts

Monitoring Recommendations

  • Enable detailed audit logging for all file upload operations including user identity and target attachment references
  • Configure alerts for attachment modifications where the modifier differs from the original uploader
  • Implement rate limiting on the file upload endpoint to slow enumeration attempts
  • Review workspace activity logs regularly for signs of unauthorized attachment access

How to Mitigate CVE-2026-34213

Immediate Actions Required

  • Upgrade Docmost to version 0.71.0 or later immediately
  • Audit recent file upload activity for signs of unauthorized attachment overwrites
  • Review workspace attachments for unexpected modifications or suspicious content
  • Consider temporarily restricting file upload capabilities until patching is complete

Patch Information

Version 0.71.0 of Docmost contains the security patch that addresses this vulnerability. The fix implements proper authorization checks to ensure that users can only overwrite attachments they own or have explicit write permissions for. Administrators should update all Docmost instances to version 0.71.0 or later. For detailed information about the patch, refer to the GitHub Security Advisory.

Workarounds

  • Restrict workspace membership to trusted users only until the patch can be applied
  • Implement network-level access controls to limit who can reach the Docmost API endpoints
  • Enable enhanced logging and monitoring to detect exploitation attempts
  • Consider placing the application behind a web application firewall (WAF) that can inspect and filter malicious requests
bash
# Update Docmost to patched version
docker pull docmost/docmost:0.71.0
docker-compose down && docker-compose up -d

# Verify running version
docker exec docmost cat /app/package.json | grep version

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDocmost

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-639
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33146: Docmost Auth Bypass Vulnerability

  • CVE-2026-40927: Docmost XSS Vulnerability

  • CVE-2026-34212: Docmost Stored XSS Vulnerability

  • CVE-2026-33193: Docmost 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