Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as space admin or workspace owner
-
DeliveryIssue two concurrent role-demotion requests
-
ExploitBoth pass last-admin/last-owner check pre-commit
-
ExecutionBoth updates commit, demoting final admins
-
ImpactSpace/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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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).
Unauthenticated path traversal in Docmost v0.21.0's avatar attachment endpoint allows remote attackers to read arbitrary
Stored XSS in Docmost before version 0.25.0 allows authenticated attackers to inject malicious scripts into public share
Docmost versions 0.21.0 through 0.23.x contain a path traversal vulnerability in the zip import feature that allows auth
Stored XSS in Docmost 0.3.0-0.23.2 allows authenticated users to execute arbitrary JavaScript in the browsers of documen
Arbitrary local file and directory deletion on Docmost deployments that use local storage, exploitable by any authentica
Uncontrolled archive extraction in Docmost 0.21.0 through 0.95.0 lets any authenticated workspace member who holds edit
Docmost versions 0.3.0 through 0.70.x allow authenticated users with low privileges to overwrite arbitrary attachments b
Stored cross-site scripting in Docmost's comment system allows authenticated users to plant javascript: URI hyperlinks t
Stored cross-site scripting (XSS) in Docmost prior to version 0.71.0 allows authenticated users to inject malicious `jav
Unauthenticated path traversal in Docmost versions prior to 0.80.1 allows a remote attacker to read files from local sto
Workspace ADMIN accounts in Docmost prior to 0.90.1 can mint OWNER-level accounts through the workspace invitation flow,
Stored cross-site scripting (XSS) in Docmost prior to version 0.70.0 allows authenticated attackers to inject malicious
EUVD-2026-126674
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB