CVE-2026-95140 Details
Description
kkFileView v5.0.0 through v5.0.2 contains a directory traversal vulnerability in FileController.java. The fileUpload, createFolder and existsFile endpoints accept a "path" parameter that is concatenated into the upload base path without validation, allowing unauthenticated attackers to create arbitrary directories and write arbitrary files outside the intended fileDir root via a crafted multipart request
A directory traversal vulnerability has been identified in kkFileView versions 5.0.0 through 5.0.2. The issue resides in FileController.java, where the fileUpload, createFolder, and existsFile endpoints accept a 'path' parameter. This parameter is concatenated into the upload base path without proper validation, enabling unauthenticated attackers to create arbitrary directories and write files outside the designated fileDir root. The vulnerability can be exploited by sending a crafted multipart request that includes a malicious 'path' value.
The vulnerability can be addressed by validating the 'path' parameter at the '/fileUpload', '/createFolder', and 'existsFile' endpoints to ensure it does not escape the fileDir root. Alternatively, the 'path' parameter can be whitelisted to allow only specific directory names. For deployments that have enabled the file upload feature, it can be temporarily disabled by setting 'file.upload.disable=true'.
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 Oct 6, 2026CISA-ADP
Assessed Oct 6, 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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/sg-summer/cve/issues/4 | CISA-ADP | ExploitIssue TrackingRemedy |
| https://github.com/sg-summer/cve/issues/4 | [email protected] | ExploitIssue TrackingRemedy |
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 |
|---|---|
| kkFileView | >= 5.0.0, <= 5.0.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 6, 2026 | CVE Modified | CISA-ADP |
| Oct 6, 2026 | New CVE Received | [email protected] |
Volerion