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

Published Nov 16, 2026
·
Updated

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.

Affected Software

1 affected component
docmost docmost<0.96.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.96.0

Event History

Nov 16, 2026
CVE Published
via MITRE·09:24 PM
Data Sourced
via MITRE·09:24 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Docmost versions prior to 0.96.0 are affected. The issue applies to both space administrator role management and workspace owner role management.

2

What does an attacker need to exploit this issue?

The attacker needs administrative privileges: a space admin can trigger the space-admin scenario, and a workspace owner can trigger the workspace-owner scenario. Exploitation also requires two role-demotion requests to be made concurrently.

3

What is the operational impact if exploitation succeeds?

The final two space admins or workspace owners can be demoted, leaving a space with no admin or a workspace with no owner. Normal administrative recovery is then prevented, and the lockout is described as permanent and irreversible.

4

How can this be remediated?

Upgrade Docmost to version 0.96.0, which fixes the issue by addressing the race between validation and role updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203