Vulnerabilities/

PsiTransfer: Upload PATCH path traversal can create `config.<NODE_ENV>.js` and lead to code execution on restart

Severity:
High

Description

The upload PATCH flow under /files/:uploadId validates the mounted request path using the still-encoded req.path, but the downstream tus handler later writes using the decoded req.params.uploadId.

Recommendation

Update the psitransfer package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
psitransfer
Anything's wrong? Let us know Last updated on April 24, 2026