CVE-2026-48073: Docmost: Page export can include restricted same-space attachments through forged attachmentId
Docmost is open-source collaborative wiki and documentation software. From 0.70.0 until 0.80.1, a low-privileged authenticated user who can edit an exportable page can embed a forged attachmentId that belongs to a restricted page in the same space. Exporting the attacker-controlled page with includeAttachments=true causes the page export flow to read the restricted attachment from storage and include it in the returned ZIP archive even though direct file download denies access. This issue is fixed in version 0.80.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Docmostto a version that resolves this vulnerability.Fixed in 0.80.1
Event History
Frequently Asked Questions
Who can exploit this issue?
A low-privileged authenticated user can exploit it if they can edit an exportable page in the same space as a restricted page containing the target attachment.
What must an attacker do to obtain a restricted attachment?
The attacker must embed a forged attachmentId for an attachment on a restricted same-space page, then export their controlled page with includeAttachments=true. The export ZIP can include the restricted attachment despite direct download access being denied.
Are installations affected by default?
The issue is reachable through the page export flow when attachments are included. Exploitation additionally requires an authenticated user with permission to edit an exportable page and knowledge or use of a forged attachmentId for a restricted same-space attachment.
How can this be remediated?
Upgrade Docmost to version 0.80.1, which fixes the issue. The affected versions are from 0.70.0 until 0.80.1.