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: n/a
EPSS: n/a
KEV: No
Impact: Local File Disclosure
Action: Apply Patch
AI Analysis

Impact

The 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 allows the disclosure of sensitive configuration files, source code, or any other file the server process can access, leading to a compromise of confidentiality.

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.

Risk and Exploitability

The flaw is exploitable without authentication over the network via a simple POST request to a public URL. No EPSS score is available, and the vulnerability is not yet listed in CISA KEV. Because it permits arbitrary local file reads, the risk of disclosure is high, and the potential impact could be severe if sensitive files are accessible.

Generated by OpenCVE AI on September 11, 2026 at 02:43 UTC.

Remediation

No vendor fix or workaround currently provided.

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 11, 2026 at 02:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-10T21:52:35.334Z

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

Link: CVE-2025-57231

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2025-57231

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T01:30:14Z

Weaknesses
  • CWE-20

    Improper Input Validation