A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-41180

CVE-2026-41180: PsiTransfer RCE Vulnerability

CVE-2026-41180 is a remote code execution flaw in PsiTransfer that allows unauthenticated attackers to execute malicious code by exploiting path validation issues. This post covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-41180 Overview

CVE-2026-41180 is a path traversal vulnerability in PsiTransfer, an open source, self-hosted file sharing solution. The vulnerability exists in the upload PATCH flow under /files/:uploadId, where the application validates the mounted request path using the still-encoded req.path, but the downstream tus handler later writes using the decoded req.params.uploadId. This encoding mismatch allows unauthenticated attackers to write arbitrary files to the application root directory.

Critical Impact

In deployments using 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. This attacker-controlled file is then executed on the next process restart, leading to remote code execution.

Affected Products

  • PsiTransfer versions prior to 2.4.3

Discovery Timeline

  • 2026-04-23 - CVE CVE-2026-41180 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2026-41180

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal). The root cause lies in an inconsistency between how the application validates file paths and how it subsequently processes them. The upload endpoint at /files/:uploadId performs security validation against the URL-encoded version of the request path (req.path), but the underlying tus file handler operates on the URL-decoded version of req.params.uploadId.

This mismatch creates a window where path traversal sequences that appear benign in their encoded form (e.g., %2e%2e%2f for ../) pass validation but are decoded before the actual file write operation occurs. An attacker exploiting this flaw can escape the intended upload directory and write files to arbitrary locations within the application's filesystem permissions.

The attack is particularly severe in environments where the PSITRANSFER_UPLOAD_DIR configuration variable is set to a directory whose basename is a prefix of paths loaded during application startup. For example, if PSITRANSFER_UPLOAD_DIR is set to conf, an attacker can traverse to the application root and create a malicious config.<NODE_ENV>.js file that will be automatically loaded and executed when the Node.js application restarts.

Root Cause

The vulnerability stems from improper input validation where URL encoding inconsistencies allow path traversal attacks. The security check operates on encoded input while the file system operation uses decoded input, violating the principle of validating data in its canonical form.

Attack Vector

The attack is network-based and requires no authentication. An attacker can craft a malicious HTTP PATCH request to the /files/:uploadId endpoint with a specially crafted uploadId parameter containing URL-encoded path traversal sequences. The attack complexity is considered high due to the specific environmental requirements (custom upload directory configuration), and user interaction is required (process restart needed to trigger code execution).

The security patch introduced a new function decodedUploadPathSegment to properly handle path decoding before validation:

javascript
/** Decoded path segment under the /files mount (must match req.params used by tusboy). */
function decodedUploadPathSegment(req) {
  const raw = req.path.startsWith('/') ? req.path.slice(1) : req.path;
  try {
    return decodeURIComponent(raw);
  } catch {
    return null;
  }
}

Source: GitHub Commit Update

Detection Methods for CVE-2026-41180

Indicators of Compromise

  • Unexpected files appearing in the PsiTransfer application root directory, particularly config.*.js files
  • HTTP PATCH requests to /files/ endpoints containing URL-encoded path traversal sequences (%2e%2e%2f, %2e%2e/, ..%2f)
  • Presence of unfamiliar JavaScript configuration files matching the pattern config.<environment>.js
  • Unusual process behavior or network connections following application restarts

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block URL-encoded path traversal patterns in request URIs
  • Monitor file system integrity for the PsiTransfer application directory, alerting on creation of unexpected .js files
  • Enable detailed access logging for the /files/ endpoint and analyze for suspicious patterns
  • Deploy endpoint detection and response (EDR) solutions to monitor for anomalous file creation events in application directories

Monitoring Recommendations

  • Configure SIEM rules to correlate HTTP PATCH requests with path traversal indicators targeting PsiTransfer endpoints
  • Establish baseline behavior for file operations in the PsiTransfer directory and alert on deviations
  • Monitor Node.js process startup events for loading of unexpected configuration files
  • Implement network-level monitoring for outbound connections initiated immediately after PsiTransfer restarts

How to Mitigate CVE-2026-41180

Immediate Actions Required

  • Upgrade PsiTransfer to version 2.4.3 or later immediately
  • Audit the PSITRANSFER_UPLOAD_DIR configuration to ensure it does not use a basename that prefixes startup-loaded paths
  • Review file system for any unexpected files in the application root directory
  • Implement network segmentation to limit exposure of file sharing services

Patch Information

The vulnerability has been addressed in PsiTransfer version 2.4.3. The patch ensures that path validation occurs on the decoded form of the request path, preventing the encoding mismatch that enabled the traversal attack.

For detailed information about the fix, refer to:

  • GitHub Security Advisory GHSA-533q-w4g6-5586
  • GitHub Release v2.4.3
  • Security Patch Commit

Workarounds

  • Place PsiTransfer behind a reverse proxy that performs URL decoding before path validation
  • Configure PSITRANSFER_UPLOAD_DIR to use a directory name that does not prefix any application startup paths (avoid names like conf, config, lib, etc.)
  • Implement strict file system permissions to prevent the application from writing outside designated upload directories
  • Consider running PsiTransfer in a containerized environment with read-only filesystem for application code directories
bash
# Configuration example - Use an upload directory that doesn't prefix startup paths
export PSITRANSFER_UPLOAD_DIR=/var/psitransfer/uploads
# Ensure strict permissions on application directory
chmod -R 755 /opt/psitransfer
chown -R root:root /opt/psitransfer
# Make uploads directory writable by application user only
mkdir -p /var/psitransfer/uploads
chown psitransfer:psitransfer /var/psitransfer/uploads
chmod 700 /var/psitransfer/uploads

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPitransfer

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Release v2.4.3

  • GitHub Security Advisory GHSA-533q-w4g6-5586
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English