Docmost: Race condition (TOCTOU) in space/workspace role management allows permanent, irreversible admin/owner lockout

Summary

CVECVE-2026-123353
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-16 22:18:15 UTC
Updated2026-11-16 22:18:15 UTC
DescriptionDocmost 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.

Risk And Classification

Primary CVSS: v3.1 3.3 LOW from [email protected]

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L

Problem Types: CWE-362 | CWE-367 | CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization | CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary3.3LOWCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
3.1CNADECLARED3.3LOWCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L

CVSS v3.1 Breakdown

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

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Docmost Docmost affected < 0.96.0 Not specified

References

ReferenceSourceLinkTags
github.com/docmost/docmost/security/advisories/GHSA-frv7-262w-24q9 [email protected] github.com
github.com/docmost/docmost/commit/a962c17c226d153de2179d752b816d26d07ba291 [email protected] github.com
github.com/docmost/docmost/releases/tag/v0.96.0 [email protected] github.com
github.com/docmost/docmost/pull/2479 [email protected] github.com
github.com/docmost/docmost/commit/5792fc7ca2396ea3cf82ad65a671bbad200a032c [email protected] github.com
github.com/docmost/docmost/commit/ab43031375c05a2142480dacfddc049eeaf751b4 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report