Skip to main content

Docmost EUVDEUVD-2026-126674

| CVE-2026-123353 LOW
Race Condition (CWE-362)
2026-11-16 GitHub_M
3.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as space admin or workspace owner
  2. Delivery
    Issue two concurrent role-demotion requests
  3. Exploit
    Both pass last-admin/last-owner check pre-commit
  4. Execution
    Both updates commit, demoting final admins
  5. Impact
    Space/workspace left with no admin/owner (administrative lockout)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must be authenticated as a space admin or workspace owner (PR:H) within Docmost prior to 0.96.0. The target space must have exactly two remaining admins, or the target workspace exactly two remaining owners, and the attacker must issue two role-demotion requests concurrently so both pass the last-admin/last-owner count check before either transaction commits (the validation and update are not serialized). Limiting factors: high-privilege access is required, the race window is narrow (AC:H), impact is confined to a single space/workspace scope (S:U), and the outcome is loss of administrative control rather than data exposure or code execution. Updating to 0.96.0 is the fix.

Impact

This is a genuinely low-priority issue and the raw CVSS 3.3 reflects that honestly. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L shows the attacker must already hold high privileges (PR:H = a space admin or workspace owner), must win a race (AC:H), and achieves only low integrity and low availability impact with no confidentiality loss (C:N). There is no EPSS score, no CISA KEV listing, and no public exploit identified in the provided data - consistent with the vendor-aligned priority of 'monitor'. The impact is self-inflicted administrative lockout rather than attacker takeover: a privileged user can strand a space without an admin or a workspace without an owner, blocking normal administrative recovery, but no data is exposed or external system compromised. The 'Information Disclosure' tag conflicts with the CVSS C:N and with the actual CWE-362/CWE-367 race-condition nature - treat the tag as erroneous, not as evidence of data exposure. Net: a real but minor availability/integrity hardening fix, not an emergency.

Exploit ScenarioDerived

A space admin (or workspace owner) in a space/workspace that has exactly two remaining admins/owners fires two role-demotion requests at nearly the same instant. Because the last-admin/last-owner count check and the role update are not serialized in a single transaction, both requests read the pre-update count, both pass validation, and both commit - demoting the final two privileged users and leaving the space without an admin or the workspace without an owner. No public exploit code is identified; exploitation requires the attacker to already hold admin/owner rights and to win a narrow timing window.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 16, 2026

Concurrent role-demotion requests in Docmost prior to 0.96.0 can strip the last administrator from a space or the last owner from a workspace, leaving that scope without anyone able to perform administrative actions. Only principals who already hold space-admin or workspace-owner rights can trigger it, and the target must be down to exactly two remaining admins or owners whose demotions are submitted simultaneously so that both count checks pass before either write commits. The resulting impact is limited to loss of administrative control within one space or workspace - no data exposure or code execution - and the vendor-released fix is version 0.96.0; no public exploit code was identified at time of analysis and the issue is assessed as low priority.

RemediationAI

Upgrade Docmost to 0.96.0 or later, which is the vendor-released fix and the only complete remediation; the release is available at https://github.com/docmost/docmost/releases/tag/v0.96.0 and the changes are described in advisory GHSA-frv7-262w-24q9 (with implementation in PR https://github.com/docmost/docmost/pull/2479 and commits 5792fc7, a962c17 and ab43031). No patch-level workaround is documented by the vendor; because the trigger requires a scope to be down to exactly two remaining admins or owners, keeping additional admins/owners provisioned in each space and workspace reduces the precondition for lockout, at the cost of granting wider privileged access than a minimal-administration model. Where upgrading must be deferred, review and rate-limit or serialize role-demotion operations at the API gateway for the demotion endpoint so two requests cannot be processed concurrently, accepting that this does not address the underlying non-transactional check. Note that the failure mode is self-inflicted administrative lockout within one scope, so operator-initiated recovery (restoring a role directly in the database) is the fallback if a scope is already left without an owner or admin.

Affected VersionsENISA

docmost < 0.96.0

Affected Packages

euvd docmost fix: 0.96.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

The defect is a classic time-of-check-to-time-of-use race, tracked as CWE-362 (concurrent execution using shared resources with improper synchronization) and CWE-367 in the upstream advisory. Docmost guards against orphaning a space or workspace by counting remaining admins/owners before permitting a demotion, but the count query and the subsequent role update are not executed inside a single serialized database transaction. Two demotion requests that arrive within the same narrow window therefore each observe a count that still includes the other target, both pass validation, and both commit - dropping the admin/owner count to zero. Exploiting it requires authenticated high privilege (the CVSS vector is AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L), a target scope with exactly two remaining privileged principals, and precise request timing, which is why the score is low despite the availability and integrity consequences. The referenced upstream fix commits and pull request restructure the affected server logic in the NestJS/Kysely backend, wrapping the read-validate-write sequence in a single transaction (executeTx) and introducing row-level locking helpers such as lockPageHierarchySpaces plus a trx-aware dbOrTx accessor so concurrent requests serialize instead of interleaving.

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_M) PRIMARY 3.3 LOW
AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
vuln.today AI 3.3 LOW

Requires space-admin/owner privileges so PR:H; depends on winning a concurrency race so AC:H; no data exposure (C:N); role-state corruption and loss of admin availability give I:L and A:L.

3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Nov 16, 2026 - 22:19 EUVD

DescriptionCVE.org

Docmost is open-source collaborative wiki and documentation software. Prior to 0.96.0, two concurrent role-demotion requests from a space admin or workspace owner can each pass the last-admin or last-owner count check before either update is committed because the validation and role update are not serialized in one transaction. The requests can therefore demote the final two space admins or workspace owners and leave the affected space without an admin or the workspace without an owner, preventing normal administrative recovery. This issue is fixed in version 0.96.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche open-source self-hosted wiki/documentation app, limited production footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

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-34213 MEDIUM
5.4 Apr 14

Docmost versions 0.3.0 through 0.70.x allow authenticated users with low privileges to overwrite arbitrary attachments b

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

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