Docmost: Race condition (TOCTOU) in space/workspace role management allows permanent, irreversible admin/owner lockout
- State
- Published
- Severity
- 3.3 Low
- Published
- Nov 16, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 5, 2026
Description
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.
| Product | Versions |
|---|---|
| docmost docmost | < 0.96.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 3.3 Low | GitHub_M |
Weaknesses
References
- https://github.com/docmost/docmost/security/advisories/GHSA-frv7-262w-24q9
- https://github.com/docmost/docmost/pull/2479
- https://github.com/docmost/docmost/commit/5792fc7ca2396ea3cf82ad65a671bbad200a032c
- https://github.com/docmost/docmost/commit/a962c17c226d153de2179d752b816d26d07ba291
- https://github.com/docmost/docmost/commit/ab43031375c05a2142480dacfddc049eeaf751b4
- https://github.com/docmost/docmost/releases/tag/v0.96.0
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.