@tus/file-store is vulnerable to Path Traversal
94
Critical Risk
The file store builds filesystem paths by joining the configured upload directory with an upload id derived from the request. Ids were not validated, so encoded path separators and NULL bytes were accepted and resolved paths were not confined to the configured directory. A network-reachable request with no authentication enforced by the library can then read, delete, or modify files outside the upload directory. The fix rejects encoded path separators and NULL bytes in default upload ids and verifies that resolved file paths stay inside the configured directory.
You are affected if you are using a version that falls within the vulnerable range.
@tus/file-store is vulnerable to Path Traversal in versions 0.0.1 - 2.1.0.
Upgrade the @tus/file-store library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant