Skip to main content

Docmost CVE-2026-34213

| EUVDEUVD-2026-22756 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-04-14 security-advisories@github.com
5.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to workspace
  2. Delivery
    Enumerate or discover victim attachmentId
  3. Exploit
    Send crafted upload request with victim ID
  4. Execution
    API overwrites attachment without authorization check
  5. Persist
    Attachment replaced in victim's documents
  6. Impact
    Other users access corrupted/malicious file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Impact

This vulnerability presents a moderate real-world risk. The CVSS 5.4 score reflects medium severity due to network accessibility (AV:N), low attack complexity (AC:L), and low privilege requirements (PR:L), but limited impact scope (integrity and availability only, no confidentiality loss, unchanged scope). The requirement for prior authentication (PR:L) and lack of user interaction (UI:N) mean any team member can exploit this. While no KEV status or public POC is reported, the straightforward nature of the attack (supplying a known attachmentId parameter) makes exploitation trivial once an attacker identifies target attachment IDs-potentially enumerable or leaked through workspace collaboration features. The integrity impact (file corruption/overwrite) is significant for collaborative documentation where trust in document authenticity is critical. Organizations running affected versions should prioritize upgrading to 0.71.0, particularly if workspaces contain sensitive or regulated documentation.

Exploit ScenarioDerived

An authenticated user with read-only or limited editor access in a Docmost workspace identifies or guesses another user's attachment ID (potentially through workspace file listings, API responses, or collaborative document references). The attacker crafts a POST request to /api/files/upload with the victim's attachmentId parameter, uploading malicious or corrupted content. The API overwrites the victim's attachment without validation, and all workspace members accessing the document see the corrupted or modified file. No user interaction or complex exploitation steps are required.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 14, 2026

Docmost versions 0.3.0 through 0.70.x allow authenticated users with low privileges to overwrite arbitrary attachments belonging to other users within the same workspace via improper authorization checks on the POST /api/files/upload endpoint. An attacker can supply a victim's attachmentId to modify or corrupt files without user interaction, compromising document integrity across the workspace. No public exploit code has been identified; patch version 0.71.0 is available.

RemediationAI

Upgrade Docmost to version 0.71.0 or later immediately. The vendor has released a patched version that implements proper authorization checks on the POST /api/files/upload endpoint to verify user ownership before allowing attachment modifications. Refer to the official GitHub Security Advisory (https://github.com/docmost/docmost/security/advisories/GHSA-89fp-2hch-j9gp) for detailed upgrade instructions. If immediate upgrade is not feasible, temporarily restrict file upload permissions at the application or network level; however, this is not a substitute for patching. Users should review access logs and audit attachment modification history to detect if this vulnerability was exploited during the window before patching.

Affected VersionsENISA

docmost 0.3.0, < 0.71.0

Affected Packages

euvd docmost_0_3_0 fix: 0.71.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Docmost is a collaborative wiki and documentation platform written in Node.js/TypeScript. The vulnerability stems from CWE-639 (Authorization Bypass Through User-Controlled Key), where the file upload API endpoint fails to properly validate that the authenticated user has permission to modify attachments owned by other users. The API likely uses attachment IDs as direct object references without verifying workspace-level or user-level ownership. The affected versions 0.3.0-0.70.x did not implement adequate access control checks before allowing overwrite operations on existing attachment resources.

Know when Docmost gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

3
Patch released
Apr 22, 2026 - 18:46 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
0.71.0
CVE Published
Apr 14, 2026 - 22:16 nvd
MEDIUM 5.4

DescriptionCVE.org

Docmost is open-source collaborative wiki and documentation software. Starting in version 0.3.0 and prior to version 0.71.0, improper authorization in Docmost allows a low-privileged authenticated user to 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. Version 0.71.0 contains a patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-57231 HIGH POC
7.5 Sep 10

Unauthenticated path traversal in Docmost v0.21.0's avatar attachment endpoint allows remote attackers to read arbitrary

CVE-2026-24045 HIGH POC
7.3 Feb 10

Stored XSS in Docmost before version 0.25.0 allows authenticated attackers to inject malicious scripts into public share

CVE-2026-22249 HIGH POC
7.1 Jan 15

Docmost versions 0.21.0 through 0.23.x contain a path traversal vulnerability in the zip import feature that allows auth

CVE-2026-23630 MEDIUM POC
5.4 Jan 21

Stored XSS in Docmost 0.3.0-0.23.2 allows authenticated users to execute arbitrary JavaScript in the browsers of documen

CVE-2026-48070 HIGH
7.1 Sep 24

Arbitrary local file and directory deletion on Docmost deployments that use local storage, exploitable by any authentica

CVE-2026-65827 MEDIUM
6.5 Sep 24

Uncontrolled archive extraction in Docmost 0.21.0 through 0.95.0 lets any authenticated workspace member who holds edit

CVE-2026-40927 MEDIUM
5.4 Apr 21

Stored cross-site scripting in Docmost's comment system allows authenticated users to plant javascript: URI hyperlinks t

CVE-2026-34212 MEDIUM
5.4 Apr 14

Stored cross-site scripting (XSS) in Docmost prior to version 0.71.0 allows authenticated users to inject malicious `jav

CVE-2026-48072 MEDIUM
5.3 Sep 24

Unauthenticated path traversal in Docmost versions prior to 0.80.1 allows a remote attacker to read files from local sto

CVE-2026-52853 MEDIUM
5.2 Sep 24

Workspace ADMIN accounts in Docmost prior to 0.90.1 can mint OWNER-level accounts through the workspace invitation flow,

CVE-2026-33193 MEDIUM
4.6 Apr 14

Stored cross-site scripting (XSS) in Docmost prior to version 0.70.0 allows authenticated attackers to inject malicious

CVE-2026-52850 MEDIUM
4.3 Sep 24

Authenticated workspace members in Docmost prior to 0.90.1 can read confidential sync-block content from private spaces

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy