Description
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.
Published: 2026-09-10
Score: 7.5 High
EPSS: 1.8% Low
KEV: No
Impact: Local File Disclosure
Action: Apply Patch
AI Analysis

Impact

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. This is a CWE-22 path traversal vulnerability.

Affected Systems

Docmost 0.21.0 installed in any environment with the avatar upload endpoint exposed. The flaw exists in the core attachment controller where paths are not properly sanitised; vulnerability is a path traversal flaw in the avatar attachment handling code of Docmost version 0.21.0. An attacker can construct a POST request to a public endpoint and supply a file path containing traversal characters that causes the server to read arbitrary files from the local filesystem. Successful exploitation or any other file the server process can access, leading to a compromise of confidentiality.

Risk and Exploitability

The flaw is exploitable without authentication over the network via a simple POST request to a public URL. The CVSS score of 7.5 reflects a high severity, and the EPSS low probability of exploitation, though the vulnerability is still not listed in CISA KEV. Because it permits arbitrary local file reads, it could be severe if sensitive files are accessible.

Generated by OpenCVE AI on September 21, 2026 at 05:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Docmost to the latest patched version that resolves the path traversal flaw.
  • Restrict the avatar upload POST endpoint to authenticated users only, preventing unauthenticated access.
  • Implement server‑side validation to sanitize all file paths before accessing the filesystem to eliminate traversal vectors.

Generated by OpenCVE AI on September 21, 2026 at 05:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 05:45:00 +0000

Type Values Removed Values Added
Title Unauthenticated Path Traversal in Docmost Avatar Attachments

Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Fri, 11 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Docmost
Docmost docmost
Vendors & Products Docmost
Docmost docmost

Fri, 11 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Title Unauthenticated Path Traversal in Docmost Avatar Attachments
Weaknesses CWE-22

Fri, 11 Sep 2026 05:30:00 +0000

Type Values Removed Values Added
Title Unauthenticated Path Traversal in Docmost Avatar Attachments
Weaknesses CWE-20

Fri, 11 Sep 2026 01:45:00 +0000

Type Values Removed Values Added
Title Unauthenticated Path Traversal in Docmost Avatar Attachments
Weaknesses CWE-20

Thu, 10 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-11T17:52:27.898Z

Reserved: 2025-08-17T00:00:00.000Z

Link: CVE-2025-57231

cve-icon Vulnrichment

Updated: 2026-09-11T17:52:07.184Z

cve-icon NVD

Status : Deferred

Published: 2026-09-10T22:16:54.070

Modified: 2026-09-22T20:00:03.713

Link: CVE-2025-57231

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T05:30:07Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')