Docat
Docat has Arbitrary File Upload exists in Upload API
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.6.0
Fixed in 1.6.0
Mitigation
Upgrade docat to 1.6.0 or later.
References
- Vendor advisory github.com/docat-org/docat/security/advisories…
- Patch github.com/docat-org/docat/commit/85fc40e8348c…
- Release notes github.com/docat-org/docat/releases/tag/1.6.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.