Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-73244 EUVD-2026-56940

kkFileView: Unauthenticated path traversal in POST /listFiles allows arbitrary directory listing

Published Aug 11, 2026 · Updated Aug 13, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
kekingcn kkFileView < 5.0.1 —

References