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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-16T21:13:40.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-533q-w4g6-5586
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- psi-4ward psitransfer: < 2.4.3
- psitransfer (npm): before 2.4.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/psi-4ward/psitransfer/security/advisories/GHSA-533q-w4g6-5586> (exploit, web)
- <https://github.com/psi-4ward/psitransfer/commit/8b547bf3e09757122efa00aab90281e3915aa0c6> (web)
- <https://github.com/psi-4ward/psitransfer/releases/tag/v2.4.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41180> (advisory)
- <https://github.com/psi-4ward/psitransfer> (package)

## Sources

- CVE List: [CVE-2026-41180](https://www.cve.org/CVERecord?id=CVE-2026-41180), CVE Terms of Use, modified 2026-04-23
- GitHub Advisory Database: [GHSA-533q-w4g6-5586](https://github.com/advisories/GHSA-533q-w4g6-5586), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-41180](https://nvd.nist.gov/vuln/detail/CVE-2026-41180), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-41180 · Whole record: https://cve.day/CVE-2026-41180.json · Rebuilt by cve.day 2026-11-25T22:59:19.367Z
