Docmost: Race condition (TOCTOU) in space/workspace role management allows permanent, irreversible admin/owner lockout
Summary
| CVE | CVE-2026-123353 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-16 22:18:15 UTC |
| Updated | 2026-11-16 22:18:15 UTC |
| 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. |
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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 3.3 | LOW | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L |
| 3.1 | CNA | DECLARED | 3.3 | LOW | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
HighUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.