CVE-2025-57231

Published Sep 10, 2026 CVSS 3.1 · 7.5 High EPSS 1.7% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Title Unauthenticated Path Traversal in Docmost Avatar Attachments
Type Values Removed Values Added
Metrics ssvc

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

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'}

Type Values Removed Values Added
First Time appeared Docmost
Docmost docmost
Vendors & Products Docmost
Docmost docmost
Type Values Removed Values Added
Title Unauthenticated Path Traversal in Docmost Avatar Attachments
Weaknesses CWE-22
Type Values Removed Values Added
Title Unauthenticated Path Traversal in Docmost Avatar Attachments
Weaknesses CWE-20
Type Values Removed Values Added
Title Unauthenticated Path Traversal in Docmost Avatar Attachments
Weaknesses CWE-20
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
Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 11, 2026, 5:52 PM
Reserved
Aug 17, 2025, 12:00 AM
Status
Deferred
Published
Sep 10, 2026, 10:16 PM
Modified
Oct 26, 2026, 10:10 PM