Docmost admin lockout in concurrent role demotions
docmost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| docmost docmost |
| No fix yet |
Original 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.
From the CVE record · GitHub_M