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:
- Affected version(s): < 2.4.3
- Patched version(s): 2.4.3
References
Related Issues
- Electerm runWidget has a path traversal that leads to arbitrary code execution - CVE-2026-43940
- FUXA Unauthenticated Remote Code Execution via Arbitrary File Write in Upload API - CVE-2026-25895
- Lobe Chat affected by Cross-Site Scripting(XSS) that can escalate to Remote Code Execution(RCE) - CVE-2026-23733
- Happy DOM: VM Context Escape can lead to Remote Code Execution - CVE-2025-61927
You might also like:
- Tags:
- npm
- psitransfer
Anything's wrong? Let us know Last updated on April 24, 2026


