A path traversal vulnerability in cube-root/directory-serve through 1.3.7 allows an unauthenticated remote attacker to delete arbitrary files outside the intended served directory when the application is run with the --delete option.
https://github.com/cube-root/directory-serve/blob/main/lib/middleware/file-remove.js