CVE-2026-41180
PsiTransfer: Upload PATCH path traversal can create `config.<NODE_ENV>.js` and lead to code execution on restart
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.
INFO
Published Date :
April 23, 2026, 2:16 a.m.
Last Modified :
Oct. 25, 2026, 11:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update PsiTransfer to version 2.4.3 or later.
- Ensure upload directories are properly secured.
- Review custom upload directory configurations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-41180.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-41180 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-41180
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-41180 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-41180 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 25, 2026
Action Type Old Value New Value Added Translation Title: psitransfer de psi-4ward, Description: PsiTransfer es una solución de código abierto y autoalojada para compartir archivos. Antes de la versión 2.4.3, el flujo PATCH de subida bajo “/files/:uploadId” valida la ruta de solicitud montada usando “req.path” (aún codificado), pero el gestor tus descendente escribe más tarde usando “req.params.uploadId” (decodificado). En despliegues que usan un “PSITRANSFER_UPLOAD_DIR” personalizado soportado cuyo nombre base prefija una ruta JavaScript cargada al inicio, como “conf”, un atacante no autenticado puede crear “config.[NODE_ENV].js” en la raíz de la aplicación. El archivo controlado por el atacante se ejecuta entonces en el siguiente reinicio del proceso. La versión 2.4.3 contiene un parche. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'psi-4ward', 'product': 'psitransfer', 'versions': [{'status': 'affected', 'version': '< 2.4.3'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-41180', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-04-23T13:58:52.952704Z'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Apr. 23, 2026
Action Type Old Value New Value Added Reference https://github.com/psi-4ward/psitransfer/security/advisories/GHSA-533q-w4g6-5586 -
New CVE Received by [email protected]
Apr. 23, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-22 Added Reference https://github.com/psi-4ward/psitransfer/commit/8b547bf3e09757122efa00aab90281e3915aa0c6 Added Reference https://github.com/psi-4ward/psitransfer/releases/tag/v2.4.3 Added Reference https://github.com/psi-4ward/psitransfer/security/advisories/GHSA-533q-w4g6-5586