CVE-2026-34213: Docmost improper authorization in file upload API

CVE-2026-34213 · Severity: medium · CVSS 5.4 · Published 2026-04-14

Docmost is an open-source platform used by teams to collaborate on documentation and wikis. A security flaw allows any logged-in user to overwrite files or attachments belonging to other pages within the same workspace. This could allow a malicious user to replace legitimate documentation with incorrect or harmful content, compromising the integrity of the organization's internal information.

Technologies: Docmost. Vendors: Docmost.

Quick answers

Is CVE-2026-34213 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-34213 being exploited in the wild.
How severe is CVE-2026-34213?
Medium severity, with a CVSS score of 5.4, published 14 April 2026.
Which products and versions are affected?
Docmost >= 0.3.0, < 0.71.0.
Is there a fix for CVE-2026-34213?
A patch was published on 2026-04-14: Fixed in version 0.71.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-34213 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-34213?
Check whether you run Docmost at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An Insecure Direct Object Reference (IDOR) vulnerability exists in Docmost's file upload mechanism. Specifically, the `POST /api/files/upload` endpoint fails to properly validate if the authenticated user has the authority to modify a specific `attachmentId`. By supplying a target `attachmentId` belonging to a different page within the same workspace, a low-privileged attacker can overwrite existing files. This is a remote integrity issue that requires no victim interaction. The vulnerability is addressed in version 0.71.0.

Affected products

  • Docmost Docmost >= 0.3.0, < 0.71.0

Timeline

  • 2026-04-14: disclosed
  • 2026-04-14: advisory
  • 2026-04-14: patched: Fixed in version 0.71.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.