Skip to main content
EPSS 0.4%top 65%

CVE-2026-73244: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in kekingcn kkFileView

0
Medium
VulnerabilityCVE-2026-73244cvecve-2026-73244cwe-22
Published: 08/11/2026 (08/11/2026, 20:08:25 UTC)
Source: CVE Database V5
Vendor/Project: kekingcn
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected software

kekingcn

kkFileView

Affected versions
<5.0.1
cn.keking/kkFileView
pkg:maven/cn.keking/kkFileView
Affected versions
<5.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 20:27:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses