CVE-2026-34213
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDocmost is open-source collaborative wiki and documentation software. Starting in version 0.3.0 and prior to version 0.71.0, improper authorization in Docmost allows a low-privileged authenticated user to overwrite another page's attachment within the same workspace by supplying a victim `attachmentId` to `POST /api/files/upload`. This is a remote integrity issue requiring no victim interaction. Version 0.71.0 contains a patch.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is an Insecure Direct Object Reference (IDOR) vulnerability where the file upload endpoint (`POST /api/files/upload`) lacks proper authorization checks. A low-privileged authenticated user can overwrite attachments belonging to other pages within the same workspace by specifying a victim `attachmentId`, achieving unauthorized file modification without any victim interaction.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 0.3.0, < 0.71.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Docmost installation versionCheck the running Docker image tag, package.json version field, or query the Docmost API health endpoint for version informationAffected if The installed version is 0.3.0 or higher but below 0.71.0
-
Confirm user authentication is enabledVerify that Docmost user authentication is configured and functional by attempting to log in with a test account or reviewing authentication settings in the configurationAffected if User authentication is required for this vulnerability, so unauthenticated instances are not affected
-
Check for low-privilege user accountsReview user roles and permissions in Docmost admin panel or database to identify non-owner users with limited workspace privilegesAffected if Low-privilege users exist within any workspace who could potentially manipulate the attachmentId parameter
-
Verify file upload API is accessibleConfirm the POST /api/files/upload endpoint is reachable by reviewing API routing configuration or testing with a valid authentication tokenAffected if The file upload endpoint is exposed and accepts requests with an attachmentId parameter in the request body
You are affected if Docmost version is 0.3.0 or higher but below 0.71.0, user authentication is enabled, and low-privilege users can access the file upload API endpoint.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped0.71.0
Upgrade Docmost to version 0.71.0 or later to obtain the patch. If immediate upgrading is not feasible, implement proper ownership verification on the file upload endpoint to ensure users can only upload to attachments they own or have explicit permission to modify.
0.71.0
- Back up the current Docmost installation and database before upgrading
- Stop the running Docmost service
- Download Docmost version 0.71.0 from the official repository
- Replace the existing Docmost application files with the new version 0.71.0
- Run any pending database migrations if applicable (check for migration scripts in the upgrade)
- Start the Docmost service
- Verify that the application is running correctly and the /api/files/upload endpoint now properly validates authorization
- Test that low-privileged users can no longer overwrite attachments belonging to other pages
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-34213 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-34213 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data