Skip to main content

Docmost EUVDEUVD-2025-210887

| CVE-2025-57231 HIGH
Path Traversal (CWE-22)
2026-09-10 mitre GHSA-59m3-fj8c-996g
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify public Docmost v0.21.0 instance
  2. Delivery
    Send unauthenticated POST to avatar attachment endpoint
  3. Exploit
    Embed path traversal sequences in filename parameter
  4. Execution
    Server resolves traversed path without sanitization
  5. Impact
    Sensitive local file contents returned in HTTP response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions are required beyond network access to a Docmost v0.21.0 instance - the vulnerable endpoint is explicitly designated as a public URL and does not enforce any authentication check before path resolution occurs. The attack is limited to files readable by the operating system user under which the Docmost server process runs; files owned by root with restricted permissions (e.g., /etc/shadow on hardened systems) may not be accessible. Exploitation is confirmed limited to read-only file disclosure (CVSS I:N/A:N); no write or code-execution path is described in available data. The attack surface is further bounded to instances running exactly v0.21.0, as no other version status is confirmed.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N yielding 7.5 is well-calibrated: the attack is fully remote, requires no authentication or user interaction, and yields high-confidence confidentiality impact (arbitrary file read) with no integrity or availability consequence. EPSS at 0.15% (5th percentile) is low, indicating limited observed exploitation activity at analysis time, but SSVC independently flags exploitation=poc and automatable=yes, meaning tooling to exploit this at scale is straightforward to build. The combination of a public endpoint, zero authentication barrier, confirmed POC-level exploit details in the Artresilia advisory, and automation potential means this should be treated as a real remediation priority for any organization running exposed Docmost v0.21.0 - despite the low EPSS. The low EPSS likely reflects the niche deployment footprint of Docmost rather than technical difficulty of exploitation.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted POST request to the public avatar attachment endpoint of an internet-facing Docmost v0.21.0 instance, embedding a traversal string such as '../../../../../../etc/shadow' in the filename field. The server resolves the path without sanitization and returns the contents of the target file in the response. The Artresilia advisory provides sufficient technical detail to construct this request without further research.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
2 public PoCs No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 11, 2026

Unauthenticated path traversal in Docmost v0.21.0's avatar attachment endpoint allows remote attackers to read arbitrary local files from the server by embedding directory traversal sequences in a POST request to a publicly accessible URL. The flaw exists in the attachment controller (attachment.controller.ts:345) and requires no authentication, making every internet-exposed Docmost v0.21.0 instance vulnerable to local file disclosure. A public advisory with technical details is available from Artresilia; SSVC classifies exploitation as automatable, further elevating practical risk despite a low EPSS of 0.15%.

RemediationAI

Check the Docmost GitHub repository and release notes for a version newer than v0.21.0 that addresses this path traversal - no specific patched version is identified in the available input data. Consult the Artresilia advisory at https://www.artresilia.com/docmost-v0-21-0-cve-2025-57231-unauthenticated-file-path-traversal/ and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2025-57231 for updates. As an immediate compensating control, block external access to the avatar attachment POST endpoint at the reverse proxy or firewall level, accepting the trade-off that avatar upload functionality will be unavailable to unauthenticated users. Additionally, ensure Docmost runs under a dedicated, least-privilege OS account to limit which files are readable if exploitation occurs. Do not rely solely on EPSS to deprioritize this - the automatable SSVC rating means mass exploitation tooling is straightforward to develop.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Docmost is an open-source, self-hosted collaborative documentation and wiki platform. The vulnerability is rooted in CWE-22 (Path Traversal): the avatar attachment upload endpoint exposed as a public POST route fails to canonicalize or sanitize the filename or path parameter supplied by the client, allowing traversal sequences such as '../../../etc/passwd' to escape the intended upload directory. The specific code location is identified by the reporter as apps/server/src/core/attachment/attachment.controller.ts at line 345 in the Docmost GitHub repository at commit 0bd7ecb9b03a74e9a5e3f97b6457b82371c5ceb2. Because the endpoint is designated public (no session or token check before the path is resolved), the traversal is reachable without any credentials. The CPE entry in NVD uses n/a placeholders and does not reflect the real product.

Know when Docmost gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Public unauthenticated network endpoint, no complexity or interaction, read-only file disclosure with no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Sep 11, 2026 - 18:22 NVD
7.5 (HIGH)
CVE Published
Sep 10, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 10, 2026 - 00:00 cve.org
HIGH 7.5

DescriptionCVE.org

Path Traversal in avatar attachments in Docmost v0.21.0 allows an unauthenticated malicious actor to disclose local files via a POST Request in a public url.

Technical POC Analysis

CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, "path traversal").

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

2 public PoC links from nuclei

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Docmost v0.21.0 instances exposed to the internet are actively at risk from an unauthenticated path traversal vulnerability in the avatar attachment endpoint, with publicly available technical details enabling straightforward exploitation. Attackers can read arbitrary server files without credentials, potentially exposing configuration data, database credentials, and sensitive application files. Immediate inventory and network isolation is critical given no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigation: restrict all network access to Docmost v0.21.0 instances to internal networks or trusted IP addresses; implement Web Application Firewall rules to block HTTP requests containing path traversal sequences (.., encoded variants, or Windows path separators); enable file access logging for configuration and credential files; rotate all database, API, and system credentials immediately; consider temporarily disabling the attachment endpoint if not essential to business operations.

Threat Model

3 threats: Information Disclosure, Spoofing, Elevation of Privilege

4-step attack chain with trust boundaries and controls

Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche self-hosted documentation platform, limited enterprise footprint
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-24045 HIGH POC
7.3 Feb 10

Stored XSS in Docmost before version 0.25.0 allows authenticated attackers to inject malicious scripts into public share

CVE-2026-22249 HIGH POC
7.1 Jan 15

Docmost versions 0.21.0 through 0.23.x contain a path traversal vulnerability in the zip import feature that allows auth

CVE-2026-23630 MEDIUM POC
5.4 Jan 21

Stored XSS in Docmost 0.3.0-0.23.2 allows authenticated users to execute arbitrary JavaScript in the browsers of documen

CVE-2026-48070 HIGH
7.1 Sep 24

Arbitrary local file and directory deletion on Docmost deployments that use local storage, exploitable by any authentica

CVE-2026-65827 MEDIUM
6.5 Sep 24

Uncontrolled archive extraction in Docmost 0.21.0 through 0.95.0 lets any authenticated workspace member who holds edit

CVE-2026-34213 MEDIUM
5.4 Apr 14

Docmost versions 0.3.0 through 0.70.x allow authenticated users with low privileges to overwrite arbitrary attachments b

CVE-2026-40927 MEDIUM
5.4 Apr 21

Stored cross-site scripting in Docmost's comment system allows authenticated users to plant javascript: URI hyperlinks t

CVE-2026-34212 MEDIUM
5.4 Apr 14

Stored cross-site scripting (XSS) in Docmost prior to version 0.71.0 allows authenticated users to inject malicious `jav

CVE-2026-48072 MEDIUM
5.3 Sep 24

Unauthenticated path traversal in Docmost versions prior to 0.80.1 allows a remote attacker to read files from local sto

CVE-2026-52853 MEDIUM
5.2 Sep 24

Workspace ADMIN accounts in Docmost prior to 0.90.1 can mint OWNER-level accounts through the workspace invitation flow,

CVE-2026-33193 MEDIUM
4.6 Apr 14

Stored cross-site scripting (XSS) in Docmost prior to version 0.70.0 allows authenticated attackers to inject malicious

CVE-2026-52850 MEDIUM
4.3 Sep 24

Authenticated workspace members in Docmost prior to 0.90.1 can read confidential sync-block content from private spaces

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy