The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-25866

CVE-2026-25866: MobaXterm RCE Vulnerability

CVE-2026-25866 is a remote code execution flaw in MobaXterm caused by an uncontrolled search path element. Attackers can place malicious executables to achieve code execution. This article covers technical details and fixes.

Published: March 13, 2026

CVE-2026-25866 Overview

CVE-2026-25866 is an uncontrolled search path element vulnerability (CWE-428) affecting MobaXterm versions prior to 26.1. The application calls WinExec to execute Notepad++ without a fully qualified executable path when opening remote files. An attacker can exploit the search path behavior by placing a malicious executable earlier in the search order, resulting in arbitrary code execution in the context of the affected user.

Critical Impact

Local attackers can achieve arbitrary code execution by exploiting the unquoted search path, enabling them to run malicious code with the privileges of the affected user.

Affected Products

  • MobaXterm versions prior to 26.1

Discovery Timeline

  • 2026-03-09 - CVE CVE-2026-25866 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-25866

Vulnerability Analysis

This vulnerability stems from insecure application design in MobaXterm's file handling mechanism. When a user opens a remote file, MobaXterm invokes the Windows WinExec API to launch Notepad++ as an external editor. However, the application fails to specify a fully qualified path to the Notepad++ executable, instead relying on the Windows search path resolution mechanism.

Windows search path resolution follows a specific order when locating executables: the application's directory, the current working directory, the Windows system directories, and finally the directories listed in the PATH environment variable. An attacker who can place a malicious executable named notepad++.exe (or a variant) in a location searched before the legitimate Notepad++ installation can hijack execution flow.

This attack requires local access and the ability to write to a directory in the search path, making it a local privilege escalation or code execution vector in multi-user environments or when combined with other vulnerabilities that allow file writes.

Root Cause

The root cause is the use of an unquoted or unqualified executable path in the WinExec function call. When MobaXterm calls WinExec("notepad++ ...") without specifying the full path such as C:\Program Files\Notepad++\notepad++.exe, Windows searches multiple directories to find a matching executable. This behavior can be exploited through DLL hijacking or executable planting attacks.

Attack Vector

The attack requires local access to the target system. An attacker must place a malicious executable in a directory that Windows searches before the legitimate Notepad++ installation directory. Common attack scenarios include:

  1. Shared workstation environments: An attacker with limited access places a malicious executable in a shared or writable directory
  2. Directory confusion: Exploiting misconfigured permissions on directories in the system PATH
  3. Current working directory attacks: If MobaXterm changes its working directory to a user-accessible location when opening remote files

When the victim opens a remote file in MobaXterm, the application triggers WinExec to launch the editor, but the malicious executable runs instead, executing arbitrary code with the victim's privileges.

The attack does not require the execution of a malicious payload to already be on the system—it leverages the search path confusion to substitute a legitimate program call with a malicious one. For detailed technical analysis, see the VulnCheck Advisory on MobaXterm.

Detection Methods for CVE-2026-25866

Indicators of Compromise

  • Unexpected executables named notepad++.exe or similar in non-standard directories (e.g., user profile directories, temp folders, or application directories other than the official Notepad++ installation)
  • Process execution logs showing notepad++.exe spawned from MobaXterm with unusual parent-child relationships or from unexpected file paths
  • File creation events for executables in directories included in the system PATH that do not match known software installations

Detection Strategies

  • Monitor process creation events where MobaXterm (MobaXterm.exe) is the parent process and correlate with the expected child process paths
  • Implement application whitelisting rules that only allow Notepad++ execution from its legitimate installation directory
  • Use endpoint detection to flag any executable named notepad++.exe that does not match known hash values or is located outside Program Files

Monitoring Recommendations

  • Enable Windows Sysmon logging for Event ID 1 (Process Create) and Event ID 11 (File Create) to track executable creation and process spawning
  • Configure SentinelOne to monitor for executable planting in PATH directories and alert on suspicious process ancestry chains
  • Audit directory permissions for all folders in the system PATH to identify writable locations that could be exploited

How to Mitigate CVE-2026-25866

Immediate Actions Required

  • Upgrade MobaXterm to version 26.1 or later, which addresses this vulnerability
  • Audit system directories in the PATH environment variable for unexpected or suspicious executables
  • Restrict write permissions on directories in the system search path to prevent unauthorized executable placement
  • Consider temporarily disabling external editor functionality in MobaXterm until the patch is applied

Patch Information

MobaXterm version 26.1 resolves this vulnerability by using fully qualified executable paths when invoking external applications. Users should download the patched version from the official MobaXterm Home Edition Download page or through their enterprise licensing portal if using the Professional edition.

Workarounds

  • Manually configure MobaXterm to use the full path to Notepad++ (e.g., C:\Program Files\Notepad++\notepad++.exe) in the application settings if such configuration is available
  • Remove write permissions from all directories in the PATH environment variable for non-administrative users
  • Implement application control policies that block execution of unsigned or unknown executables from non-standard locations

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMobaxterm

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/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-428
  • Technical References
  • MobaXterm Home Edition Download

  • VulnCheck Advisory on MobaXterm
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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