Skip to main content

PsiTransfer EUVDEUVD-2026-25150

| CVE-2026-41180 HIGH
Path Traversal (CWE-22)
2026-04-23 GitHub_M GHSA-533q-w4g6-5586
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reconnaissance of custom upload directory configuration
  2. Delivery
    Craft double-encoded path traversal in upload request
  3. Exploit
    Upload malicious config.js via tus PATCH endpoint
  4. Install
    File written outside upload directory to app root
  5. C2
    Wait for application restart event
  6. Execute
    Node.js executes attacker-controlled config file
  7. Impact
    Arbitrary 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 /files/..%2F..%2Fconfig.production.js, where double-encoded path traversal bypasses validation but resolves to ../../config.production.js during file write. The attacker uploads malicious JavaScript containing a reverse shell or credential harvester. When the system administrator performs routine application restart or the server reboots, Node.js loads and executes the attacker-controlled config.production.js file, establishing persistent remote access with application privileges.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

psitransfer < 2.4.3

Affected Packages

npm psitransfer fix: 2.4.3

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 21:08 nvd
Patch available
Patch available
Apr 23, 2026 - 06:16 EUVD
CVE Published
Apr 23, 2026 - 00:10 nvd
HIGH 7.5

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy