CVE-2026-73244: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kekingcn kkFileView
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.
AI Analysis
Technical Summary
kkFileView is a Spring Boot-based universal file online preview project. In versions before 5.0.1, the POST /listFiles endpoint in FileController.java does not properly confine the user-controlled path parameter when passed to Files.newDirectoryStream. This lack of confinement allows directory enumeration outside the intended demo directory, constituting a CWE-22 path traversal vulnerability. The vulnerability is unauthenticated and has a CVSS 3.1 base score of 5.3, indicating medium severity. The issue is resolved in version 5.0.1.
Potential Impact
An unauthenticated attacker can enumerate directories outside the intended root directory, potentially exposing sensitive file system information. The vulnerability does not allow modification or deletion of files (no integrity or availability impact), but it leaks directory structure information (confidentiality impact).
Mitigation Recommendations
Upgrade kkFileView to version 5.0.1 or later, where this path traversal vulnerability is fixed by properly restricting the user-controlled path parameter to the intended directory. Patch status is not explicitly confirmed in vendor advisories, but the description states the issue is fixed in 5.0.1. Until upgrade, restrict access to the vulnerable endpoint or implement additional access controls if possible.
CVE-2026-73244: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kekingcn kkFileView
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 v3.1
Score 5.3medium
Affected software
kekingcn
kkFileView
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
kkFileView is a Spring Boot-based universal file online preview project. In versions before 5.0.1, the POST /listFiles endpoint in FileController.java does not properly confine the user-controlled path parameter when passed to Files.newDirectoryStream. This lack of confinement allows directory enumeration outside the intended demo directory, constituting a CWE-22 path traversal vulnerability. The vulnerability is unauthenticated and has a CVSS 3.1 base score of 5.3, indicating medium severity. The issue is resolved in version 5.0.1.
Potential Impact
An unauthenticated attacker can enumerate directories outside the intended root directory, potentially exposing sensitive file system information. The vulnerability does not allow modification or deletion of files (no integrity or availability impact), but it leaks directory structure information (confidentiality impact).
Mitigation Recommendations
Upgrade kkFileView to version 5.0.1 or later, where this path traversal vulnerability is fixed by properly restricting the user-controlled path parameter to the intended directory. Patch status is not explicitly confirmed in vendor advisories, but the description states the issue is fixed in 5.0.1. Until upgrade, restrict access to the vulnerable endpoint or implement additional access controls if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-11T17:18:01.597Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7b820cbf8831d539592466
Added to database: 08/11/2026, 20:11:56 UTC
Last enriched: 08/11/2026, 20:27:09 UTC
Last updated: 09/25/2026, 13:47:48 UTC
Views: 104
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.