CVE-2026-41180 json
PsiTransfer: Upload PATCH path traversal can create `config.<NODE_ENV>.js` and lead to code execution on restart
published 2026-04-16 6 mo ago modified 2026-10-25 14 d ago also GHSA-533q-w4g6-5586 , EUVD-2026-25150
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm psitransfer 2.4.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/psi-4ward/psitransfer/security/advisories/GHSA-533q-w4g6-5586 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | psitransfer | <2.4.3 |
2.4.3 |
Affected products
- psi-4ward psitransfer
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/psi-4ward/psitransfer/commit/8b547bf3e09757122efa00aab90281e3915aa0c6
web
-
github.com
/psi-4ward/psitransfer/security/advisories/GHSA-533q-w4g6-5586
exploit, web
-
github.com
/psi-4ward/psitransfer/releases/tag/v2.4.3
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-41180
advisory
-
github.com
/psi-4ward/psitransfer
package
Sources
- CVE List CVE-2026-41180
- GitHub Advisory GHSA-533q-w4g6-5586
- NVD CVE-2026-41180
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.