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

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.31% (percentile 16, 2026-11-28)
- **CWE:** CWE-362, CWE-367
- **Published:** 2026-11-16T21:24:32.580Z
- **Modified:** 2026-11-17T17:17:55.697Z

## Who should check

- Anyone running docmost \< 0.96.0

## 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.

## Affected and fixed versions

- docmost: \< 0.96.0 (cvelist)

## Mitigation

- Upgrade docmost to 0.96.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-123353. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123353.md
Affected: docmost < 0.96.0
Fixed in: docmost 0.96.0

Steps:
1. Search this machine and project for docmost: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-123353 being exploited?

There is no confirmed exploitation: CVE-2026-123353 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-123353?

Low: CVSS 3.3 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-123353?

docmost \< 0.96.0.

### Is there a fix for CVE-2026-123353?

Yes. Fixed in docmost 0.96.0. Upgrade docmost to 0.96.0 or later.

### How do I check if I'm affected by CVE-2026-123353?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/docmost/docmost/security/advisories/GHSA-frv7-262w-24q9>
- patch: <https://github.com/docmost/docmost/pull/2479>
- patch: <https://github.com/docmost/docmost/commit/5792fc7ca2396ea3cf82ad65a671bbad200a032c>
- patch: <https://github.com/docmost/docmost/commit/a962c17c226d153de2179d752b816d26d07ba291>
- patch: <https://github.com/docmost/docmost/commit/ab43031375c05a2142480dacfddc049eeaf751b4>
- other: <https://github.com/docmost/docmost/releases/tag/v0.96.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-123353>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-123353> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-123353>
