CVE-2026-48072

Docmost: Public image fileName path traversal leads to unauthorized local file read

Published Sep 24, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Docmost is open-source collaborative wiki and documentation software. Prior to 0.80.1, the public avatar and logo image endpoint accepts attacker-controlled fileName path segments and resolves them against local storage without confinement to the intended image directory. An unauthenticated attacker can traverse outside the avatar or logo directory and read local storage objects whose final basename satisfies the route's UUID check. This issue is fixed in version 0.80.1.

Analysis

AI-generated

Technical impact

Docmost's public avatar and logo image endpoints allow an attacker to supply a fileName path segment that is resolved against the server's local storage without sanitization. By including traversal sequences, the attacker can reference files outside the intended image directories. When the supplied basename matches the route's UUID pattern, the server returns the file contents, enabling an unauthenticated local file read. This CWE‑22 vulnerability exposes potential confidentiality compromise for any file on the server that satisfies the UUID check.

Affected Systems

This flaw exists in all Docmost installations running versions prior to 0.80.1, which is the open‑source collaborative wiki platform. Users deploying older releases (e.g., 0.79.x, 0.80.0 and earlier) are susceptible whenever the avatar or logo endpoints are publicly accessible.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity. Because the affected routes are publicly reachable and the attack does not require authentication, the risk of exploitation is significant if the system is exposed to the internet. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the basic path traversal nature means an attacker can craft an HTTP request to read sensitive files if the final basename matches the UUID pattern. The attacker’s main prerequisite is network access to the exposed endpoint; no additional credentials are needed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Docmost v0.80.1 or later, which confines image resolution to the intended directory.
  • If upgrading is not immediately possible, restrict public access to the avatar and logo endpoints or enforce authentication on those routes to reduce exposure.
  • Sanitize all user‑supplied fileName inputs by rejecting path separators or traversal sequences before constructing file paths.

Generated by OpenCVE AI on September 25, 2026 at 05:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Docmost
Docmost docmost
Vendors & Products Docmost
Docmost docmost
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Docmost is open-source collaborative wiki and documentation software. Prior to 0.80.1, the public avatar and logo image endpoint accepts attacker-controlled fileName path segments and resolves them against local storage without confinement to the intended image directory. An unauthenticated attacker can traverse outside the avatar or logo directory and read local storage objects whose final basename satisfies the route's UUID check. This issue is fixed in version 0.80.1.
Title Docmost: Public image fileName path traversal leads to unauthorized local file read
Weaknesses CWE-22
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2026, 6:48 PM
Reserved
May 20, 2026, 6:25 PM
Status
Deferred
Published
Sep 24, 2026, 7:17 PM
Modified
Sep 24, 2026, 7:17 PM