Skip to main content

Docat CVE-2026-61645

| EUVDEUVD-2026-113395 CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-10-29 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Docat Upload API
  2. Delivery
    Submit file with unvalidated name/type
  3. Exploit
    Traverse path or plant malicious payload
  4. Execution
    Overwrite config or serve content
  5. Impact
    Achieve RCE or XSS against users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must reach the Docat Upload API, which performs no validation of the uploaded file path or type (CWE-434); the fix commit shows the pre-1.6.0 code used the raw client-supplied filename, allowing traversal. Concrete prerequisites and limiters: (1) config-overwrite/path-traversal requires a version < 1.6.0 - this specific effect is closed in 1.6.0 by basename-stripping; (2) RCE is NOT unconditional - it depends on the deployment serving/executing uploaded content (e.g., the web server interpreting the uploaded file rather than serving it as a static inert asset); (3) XSS requires the uploaded content to be rendered in victims' browsers and a victim visiting it (S:C reflects this cross-authority impact). PR:L in the supplied vector implies some privilege to call the Upload API, though the required authentication level is not stated in the sources. Even on 1.6.0, unrestricted file TYPES remain unaddressed, so malicious-content effects can persist.

Impact

Signals skew toward genuine priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C) describes a network-reachable, low-complexity flaw in a web upload API, and the vuln.today Decision label is act_now, so this should be treated as urgent rather than deferred. CWE-434 (unrestricted upload) combined with no path/type validation is a high-impact class. Two signals are, however, absent from the input and must not be fabricated: no EPSS exploitation-probability score is provided, and there is no CISA KEV listing - so there is no confirmation of in-the-wild or widespread exploitation. The provided references are a GitHub Security Advisory, a one-line fix commit, and the 1.6.0 release; none is a weaponized exploit, so this is no public exploit identified at time of analysis. A key caveat tempers the raw 9.1: the verified 1.6.0 patch only strips the filename to its basename (fixing filename-based path traversal / config overwrite); it does not restrict file TYPES, so the deployment-dependent RCE and XSS effects described are not established as remediated by the patch. The PR:L metric implies some privilege/authentication is required, but the description does not actually state the Upload API's authentication model, so whether exploitation is truly authenticated should be verified against the deployment's configuration. Net: a real act_now priority driven by severity and an incomplete fix, not by confirmed mass exploitation.

Exploit ScenarioDerived

An attacker able to reach the Docat Upload API (PR:L implies some privilege) submits a file whose name or content is not validated. On versions < 1.6.0 the crafted filename can traverse out of the upload directory to overwrite sensitive configuration files, or - depending on how the server serves uploaded content - a planted HTML/script or executable payload can yield cross-site scripting (cookie theft, redirection) or remote code execution. No public exploit is identified in the provided data, but the one-line fix commit is public and illustrates the root cause.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 29, 2026

Unrestricted file upload in Docat's Upload API before 1.6.0 lets an attacker who can reach the endpoint supply a crafted filename and write files outside the intended upload directory, enabling overwrites of sensitive configuration files or placement of malicious content on the Docat web server. The 1.6.0 fix strips path components from filenames, but it does not establish validation of file types, so deployment-dependent remote code execution or cross-site scripting effects may remain possible depending on how uploaded content is served and rendered. No public exploit identified at time of analysis; the supplied priority label is act_now, and authentication requirements are not confirmed beyond the CVSS PR:L indication that some privilege is required.

RemediationAI

Upgrade Docat to 1.6.0 or later; the vendor advisory GHSA-jcxj-j5qf-8crw and release https://github.com/docat-org/docat/releases/tag/1.6.0 identify 1.6.0 as the fixed version, and the change commit https://github.com/docat-org/docat/commit/85fc40e8348c6328f488395d03c779517a0913fd strips directory components from uploaded filenames. If upgrading is not immediately possible, deploy that basename fix or restrict access to the Upload API to trusted users, recognizing that this reduces exposure but does not add the missing file-type validation. Because the verified patch does not establish remediation of unrestricted file types or deployment-dependent malicious-content effects, keep uploaded documentation from being served or interpreted as executable content and consider serving uploads as inert static assets; this may require deployment changes and can break features that rely on server-side interpretation. The sources do not provide a complete fix for file-type restrictions, so teams should not treat 1.6.0 as closing every upload-related impact described in the advisory.

Affected VersionsENISA

docat < 1.6.0

Affected Packages

euvd docat fix: 1.6.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-434 (Unrestricted Upload of File with Dangerous Type) in Docat's Python Upload API. The pre-1.6.0 code built the destination as base_path / str(file.filename), using the client-supplied filename directly; the fix commit changes this to base_path / Path(file.filename).name, removing directory components and closing the filename-based traversal path. Because the API also lacks file-type validation, uploaded content can be dangerous when the deployment serves or interprets it: the advisory cites configuration overwrite, remote code execution where uploaded content is executable, and cross-site scripting where uploaded files are rendered in browsers. The supplied CVSS vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L indicates network reachability, low attack complexity, some required privilege (authentication level not stated in the sources), no user interaction for the upload, scope change, low confidentiality impact, high integrity impact, and low availability impact. Version 1.6.0 addresses only the filename traversal component; unrestricted file types and deployment-dependent malicious-content effects are not established as remediated.

Know when Docat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L
vuln.today AI 9.1 CRITICAL

Network upload API, low complexity; PR:L retained as the API requires some access; scope changed because planted XSS executes in victims' browsers; integrity high from config overwrite, confidentiality/availability low.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:L/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch available
Oct 29, 2026 - 22:03 EUVD
CVE Published
Oct 29, 2026 - 21:17 cve.org
CRITICAL 9.1

DescriptionCVE.org

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.

Technical POC Analysis

CWE-434: Unrestricted Upload of File with Dangerous Type.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-61645 is a critical unrestricted file upload vulnerability in Docat's Upload API (versions before 1.6.0) that allows an authenticated attacker with network access to write files outside the intended upload directory, potentially overwriting sensitive configuration files or placing malicious content on the Docat web server. Although no public exploit has been identified, the potential for remote code execution or cross-site scripting depending on deployment means affected teams should prioritize remediation to prevent unauthorized access and service disruption.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to Docat 1.6.0 or later.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
niche open-source documentation-hosting tool, limited enterprise footprint
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy