Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReconnaissance of custom upload directory configuration
-
DeliveryCraft double-encoded path traversal in upload request
-
ExploitUpload malicious config.js via tus PATCH endpoint
-
InstallFile written outside upload directory to app root
-
C2Wait for application restart event
-
ExecuteNode.js executes attacker-controlled config file
-
ImpactArbitrary code execution as application user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires PsiTransfer deployed with custom PSITRANSFER_UPLOAD_DIR environment variable configured using a directory basename that prefixes Node.js configuration file patterns, specifically matching patterns like 'conf-uploads', 'config-data', or similar where the prefix ('conf', 'config') triggers Node.js automatic config loading. Attacker must determine the target's NODE_ENV value (typically 'production', 'development', or 'staging') to construct the correct filename. Application process must restart after malicious file upload for code execution to occur. Default installations using standard upload directories without matching prefixes are not vulnerable. Attack complexity rated High (AC:H) reflects these configuration dependencies. User interaction requirement (UI:R) reflects the restart trigger, which may occur through administrator action or scheduled maintenance rather than direct victim interaction with malicious content. |
| Impact | Real-world risk is moderate despite the RCE impact, constrained by several exploitation prerequisites. CVSS vector AV:N/AC:H/PR:N/UI:R indicates network-accessible attack but requires high complexity (specific configuration setup) and user interaction (administrator restart). The vulnerability requires: (1) custom upload directory with specific basename prefix, (2) knowledge of the deployment's NODE_ENV value, (3) triggering application restart for code execution. These conditions significantly reduce attack surface compared to typical path traversal vulnerabilities. No EPSS score, KEV listing, or public exploit code identified at time of analysis, suggesting limited observed exploitation. However, the GitHub Security Advisory (GHSA-533q-w4g6-5586) confirms technical feasibility. Organizations using default configurations or non-prefixed upload directories are not affected. The SSVC technical impact is high (arbitrary code execution), but automatable and exploitation status remain low due to configuration dependencies and restart requirement. Priority for patching should focus on custom-configured production deployments with external access. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a PsiTransfer instance configured with custom upload directory '/var/psitransfer/conf-uploads'. The attacker initiates a tus resumable upload via PATCH request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
Path traversal in PsiTransfer versions before 2.4.3 enables remote code execution through malicious file uploads. An attacker exploits URL encoding inconsistencies in the upload validation flow to write attacker-controlled JavaScript configuration files outside the intended upload directory. When the application restarts, these injected config files execute with application privileges, granting the attacker persistent code execution. Vendor patch released in v2.4.3 addresses the encoding mismatch between validation and file-write operations. CVSS 7.5 reflects high attack complexity and required user interaction, limiting immediate mass exploitation risk despite the severe RCE impact.
RemediationAI
Upgrade to PsiTransfer version 2.4.3 or later, which resolves the encoding mismatch between path validation and file write operations (fix commit: 8b547bf3e09757122efa00aab90281e3915aa0c6). Release available at https://github.com/psi-4ward/psitransfer/releases/tag/v2.4.3. For environments where immediate upgrade is not feasible, implement compensating controls: (1) Restrict upload directory configuration to non-prefixed basenames that do not match Node.js config file patterns (avoid names like 'conf', 'config', 'etc'), or (2) Deploy network-level access controls limiting upload endpoints to authenticated internal users only, reducing attack surface from AV:N to controlled access. Note that restricting restart privileges prevents code execution but does not prevent malicious file creation, which may enable secondary attacks. Validate upload directory contents before any application restart and remove unexpected .js files from application root.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PsiTransfer is a self-hosted file sharing application built on Node.js, using the tus resumable upload protocol for chunked file transfers. The vulnerability stems from CWE-22 path traversal caused by inconsistent URL encoding handling. The application validates upload paths using req.path (URL-encoded), but the tus handler writes files using req.params.uploadId (URL-decoded). This encoding mismatch allows attackers to bypass path validation by double-encoding traversal sequences. The attack specifically targets deployments using custom PSITRANSFER_UPLOAD_DIR configurations whose directory basename matches Node.js configuration file prefixes like 'conf'. When exploited, attackers create config.<NODE_ENV>.js files in the application root, which Node.js automatically loads and executes during process initialization, converting path traversal into remote code execution.
Know when Psitransfer gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
PsiTransfer versions before 2.4.3 contain a path traversal vulnerability allowing attackers to achieve persistent remote code execution by uploading malicious JavaScript configuration files that execute with application privileges upon restart. Organizations using PsiTransfer should immediately upgrade to v2.4.3, as this vulnerability could enable attackers to maintain unauthorized access and execute arbitrary commands within the application's security context.
Apply vendor patch to PsiTransfer v2.4.3 or later. If immediate patching is not feasible, restrict file upload functionality, implement strict input validation rejecting URL-encoded path traversal sequences (../, %2e%2e/, etc.), monitor upload directories for unexpected files, and disable automatic configuration file execution until patching is completed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-25150
GHSA-533q-w4g6-5586
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB