CVE-2026-73244
Received Received - Intake

Unauthenticated Directory Enumeration in kkFileView

Vulnerability report for CVE-2026-73244, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-11

Last updated on: 2026-08-13

Assigner: GitHub, Inc.

Description

kkFileView is a universal file online preview project based on Spring Boot. Prior to 5.0.1, the unauthenticated POST /listFiles endpoint in server/src/main/java/cn/keking/web/controller/FileController.java passes the user-controlled path parameter from FileController#getFiles to Files.newDirectoryStream without confinement to the demo directory, allowing directory enumeration outside the intended root. This issue is fixed in version 5.0.1.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-11
Last Modified
2026-08-13
Generated
2026-09-01
AI Q&A
2026-08-12
EPSS Evaluated
2026-08-31
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
kekingcn kkfileview 5.0.1
kekingcn kkfileview to 5.0.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal issue in kkFileView, a file preview tool. The unauthenticated POST /listFiles endpoint accepts a user-controlled path parameter that is passed directly to the filesystem without proper validation. This allows attackers to use sequences like ../ to navigate outside the intended demo directory and list arbitrary directories on the server.

Detection Guidance

To detect this vulnerability, check if your kkFileView instance is running a version prior to 5.0.1. You can verify the version by inspecting the server response headers or logs. Additionally, test the POST /listFiles endpoint with path traversal sequences like ../ or ..\ to see if it returns directory listings outside the intended demo directory.

Impact Analysis

An attacker could exploit this to enumerate directories outside the intended preview area, revealing sensitive filesystem layout and filenames. This may expose internal paths or filenames that could aid further attacks, though it does not directly allow file content access or modification.

Compliance Impact

This vulnerability could lead to unauthorized information disclosure by exposing filesystem paths and filenames, which may include sensitive data references. Such exposure could violate GDPR's data protection principles or HIPAA's requirements for safeguarding protected health information if exposed paths reveal sensitive directories.

Mitigation Strategies

Immediately upgrade kkFileView to version 5.0.1 or later, which includes fixes for path traversal. If upgrading is not possible, restrict access to the /listFiles endpoint via network controls or disable it entirely. Ensure the resolved path is strictly confined to the allowed directory using the new resolveDirectoryUnderRoot method.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-73244. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart