CVE-2026-73244 PUBLISHED

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

Assigner: GitHub_M
Reserved: 11.08.2026 Published: 11.08.2026 Updated: 11.08.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 5.3

Product Status

Vendor kekingcn
Product kkFileView
Versions
  • Version < 5.0.1 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE