CVE-2025-57231 Details
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.
A path traversal vulnerability has been identified in DocMost version 0.21.0, specifically within the avatar attachment feature. This vulnerability allows an unauthenticated attacker to disclose local files by sending a POST request to a public URL. The issue arises because the application does not properly sanitize file paths, enabling the retrieval of sensitive information such as the '/etc/passwd' file and the '/proc/self/environ' file, which contains the secret JWT token. This could potentially be exploited to forge authentication cookies and escalate privileges.
Users are advised to update to DocMost version 0.22.0, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 10, 2026CISA-ADP
Assessed Sep 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Docmost | >= 0.2.1, <= 0.21.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Sep 11, 2026 | CVE Modified | CISA-ADP |
| Sep 10, 2026 | New CVE Received | [email protected] |
Volerion