CVE-2026-41180 Details
Description
PsiTransfer is an open source, self-hosted file sharing solution. Prior to version 2.4.3, 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`. In deployments that use a supported custom `PSITRANSFER_UPLOAD_DIR` whose basename prefixes a startup-loaded JavaScript path, such as `conf`, an unauthenticated attacker can create `config.<NODE_ENV>.js` in the application root. The attacker-controlled file is then executed on the next process restart. Version 2.4.3 contains a patch.
A path traversal vulnerability has been identified in PsiTransfer versions prior to 2.4.3. The issue arises in the upload PATCH flow under '/files/:uploadId', where the request path is validated using the encoded 'req.path'. However, the downstream handler writes using the decoded 'req.params.uploadId', creating a mismatch. In deployments with a custom 'PSITRANSFER_UPLOAD_DIR' that prefixes a JavaScript path, an unauthenticated attacker can exploit this to create a 'config.<NODE_ENV>.js' file in the application root. This file is executed on the next process restart, leading to remote code execution.
Users can update to PsiTransfer version 2.4.3 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 23, 2026CISA-ADP
Assessed Apr 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/psi-4ward/psitransfer/security/advisories/GHSA-533q-w4g6-5586 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/psi-4ward/psitransfer/commit/8b547bf3e09757122efa00aab90281e3915aa0c6 | [email protected] | Source CodeVendor |
| https://github.com/psi-4ward/psitransfer/releases/tag/v2.4.3 | [email protected] | Release NotesVendor |
| https://github.com/psi-4ward/psitransfer/security/advisories/GHSA-533q-w4g6-5586 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PsiTransfer | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2026 | New CVE Received | [email protected] |
Volerion