Docmost: Race condition (TOCTOU) in space/workspace role management allows permanent, irreversible admin/owner lockout
CVE-2026-123353Published 16 Nov 2026, 21:24 UTC
Real-world risk
0.2/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
3.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| docmostNiche | < 0.96.0 | 0.96.0 |
What to do
Update to a fixed version: 0.96.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 17), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.090
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.09 × threat 0.850.230
- Rounded to one decimal between 0.1 and 100.2
Exploitation and evidence timeline
- 16 Nov 2026 Published
- 3 Dec 2026 Risk 0.2 (cvss fallback)
Weakness
CWE-362, CWE-367
References
- https://github.com/docmost/docmost/security/advisories/GHSA-frv7-262w-24q9vendor-advisory
- https://github.com/docmost/docmost/pull/2479misc
- https://github.com/docmost/docmost/commit/5792fc7ca2396ea3cf82ad65a671bbad200a032cmisc
- https://github.com/docmost/docmost/commit/a962c17c226d153de2179d752b816d26d07ba291misc
- https://github.com/docmost/docmost/commit/ab43031375c05a2142480dacfddc049eeaf751b4misc
- https://github.com/docmost/docmost/releases/tag/v0.96.0misc
- CVE-2026-123353 on CVE.org