CVE-2026-61645

Docat has Arbitrary File Upload exists in Upload API

Published Oct 29, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
Docat is a tool for hosting versioned static documentation. In the affected implementation, an arbitrary file upload vulnerability in the `Upload API` arises because the API does not validate the `uploaded file path or type`. An attacker can overwrite sensitive configuration files or place malicious files on the Docat web server. Depending on deployment context, uploaded content can enable remote code execution or cross-site scripting intended to steal cookies or redirect users to malicious websites. Version 1.6.0 mitigates filename-based path traversal; remediation of unrestricted file types or deployment-dependent malicious-content effects is not established by the verified patch.

Analysis

AI-generated

Technical impact

Docat is a tool for hosting versioned static documentation. In the affected implementation, an arbitrary file upload vulnerability in the Upload API arises because the API does not validate the uploaded file path or type. An attacker can overwrite sensitive configuration files or place malicious files on the Docat web server. Depending on deployment context, uploaded content can enable remote code execution or cross-site scripting intended to steal cookies or redirect users to malicious websites.

Affected Systems

Affected is the Docat application developed by docat-org. No specific version numbers are indicated in this CVE, although release 1.6.0 contains mitigation for filename-based path traversal; the patch does not remove unrestricted file types or other deployment‑dependent effects. Administrators should therefore verify that they are running a patched version that addresses the path traversal flaw and consider additional safeguards.

Risk and Exploitability

The CVSS score of 9.1 classifies this as a high‑severity flaw. Since the EPSS score is not available and the flaw is not listed in the CISA KEV catalog, the precise exploitation probability remains uncertain, but the vulnerability is publicly documented and the path traversal can be triggered via the web API. The likely attack vector is remote over HTTP(S); if the Upload API is exposed, an attacker could exploit it without additional credentials. The existence of an official patch suggests that organizations should prioritize remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Docat to version 1.6.0 or newer to mitigate the filename-based path traversal flaw.
  • Implement server‑side validation to restrict uploaded file types to those required by your deployment, rejecting unsupported extensions and MIME types.
  • Configure the upload directory with restricted permissions, ensuring that uploaded files cannot overwrite critical configuration files or be executed directly.
  • As a temporary measure, disable the file upload feature until the patch is applied, or set the upload API to a high‑privilege user with minimal permissions.

Generated by OpenCVE AI on October 29, 2026 at 22:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Docat-org
Docat-org docat
Vendors & Products Docat-org
Docat-org docat
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Docat is a tool for hosting versioned static documentation. In the affected implementation, an arbitrary file upload vulnerability in the `Upload API` arises because the API does not validate the `uploaded file path or type`. An attacker can overwrite sensitive configuration files or place malicious files on the Docat web server. Depending on deployment context, uploaded content can enable remote code execution or cross-site scripting intended to steal cookies or redirect users to malicious websites. Version 1.6.0 mitigates filename-based path traversal; remediation of unrestricted file types or deployment-dependent malicious-content effects is not established by the verified patch.
Title Docat has Arbitrary File Upload exists in Upload API
Weaknesses CWE-434
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 3:59 PM
Reserved
Jul 10, 2026, 5:38 PM
Status
Deferred
Published
Oct 29, 2026, 10:17 PM
Modified
Oct 30, 2026, 7:39 PM