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-23512

CVE-2026-23512: SumatraPDF RCE Vulnerability

CVE-2026-23512 is an untrusted search path vulnerability in SumatraPDF that enables remote code execution through malicious notepad.exe placement. This article covers technical details, affected versions, and mitigations.

Published: January 23, 2026

CVE-2026-23512 Overview

SumatraPDF is a popular multi-format document reader for Windows. A critical Untrusted Search Path vulnerability (CWE-426) exists in version 3.5.2 and earlier that allows arbitrary code execution when a user triggers the Advanced Options setting. The application executes notepad.exe without specifying an absolute path, enabling attackers to place a malicious notepad.exe in the application's installation directory for execution with the user's privileges.

Critical Impact

Attackers can achieve arbitrary code execution on Windows systems by exploiting the insecure executable path resolution when users access Advanced Options in SumatraPDF, potentially leading to complete system compromise.

Affected Products

  • SumatraPDF version 3.5.2 and earlier
  • Windows installations of SumatraPDF with user-writable installation directories

Discovery Timeline

  • 2026-01-14 - CVE-2026-23512 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2026-23512

Vulnerability Analysis

This vulnerability falls under CWE-426 (Untrusted Search Path), which occurs when an application searches for resources in untrusted directories before secure system locations. In this case, SumatraPDF's Advanced Options functionality invokes notepad.exe using a relative path rather than the fully qualified system path (e.g., C:\Windows\System32\notepad.exe).

Windows employs a specific search order for executable resolution. When an application calls an executable without an absolute path, Windows first searches the application's directory before checking system paths. This behavior creates an exploitation opportunity where an attacker can place a malicious executable named notepad.exe in SumatraPDF's installation directory.

Root Cause

The root cause is the insecure invocation of notepad.exe without specifying the complete absolute path to the Windows system executable. The application relies on Windows' default search path behavior, which prioritizes the current working directory and application directory over secure system locations. This design flaw allows binary planting attacks when the installation directory is writable by standard users or when attackers have prior access to the system.

Attack Vector

The attack requires local access and user interaction. An attacker must:

  1. Gain write access to the SumatraPDF installation directory (either through prior compromise, social engineering, or if the directory has insecure permissions)
  2. Place a malicious executable named notepad.exe in this directory
  3. Wait for or convince the victim to access the Advanced Options feature in SumatraPDF

When the user triggers Advanced Options, the malicious notepad.exe executes instead of the legitimate Windows Notepad, running with the privileges of the current user. This could enable malware execution, credential theft, or further system compromise.

The vulnerability mechanism involves Windows executable search order exploitation. When SumatraPDF calls notepad.exe without a full path, Windows searches directories in a specific order, starting with the application's own directory. An attacker-supplied malicious binary in this location takes precedence over the legitimate system executable. For technical implementation details, see the GitHub Security Advisory.

Detection Methods for CVE-2026-23512

Indicators of Compromise

  • Presence of notepad.exe in the SumatraPDF installation directory (typically C:\Program Files\SumatraPDF\ or user-specific installation paths)
  • Unexpected process execution chains where SumatraPDF spawns processes other than the legitimate Windows Notepad
  • File creation or modification events in the SumatraPDF installation directory involving executable files

Detection Strategies

  • Monitor for executable files created in application installation directories that match common Windows system executable names (e.g., notepad.exe, calc.exe)
  • Implement application whitelisting or software restriction policies to prevent unauthorized executables from running in application directories
  • Deploy endpoint detection rules to alert on process creation events where the parent process is SumatraPDF.exe and the child process path does not match the expected Windows system directory

Monitoring Recommendations

  • Configure file integrity monitoring for the SumatraPDF installation directory to detect unauthorized changes
  • Review process execution logs for anomalous parent-child process relationships involving SumatraPDF
  • Enable Windows Security Event logging for process creation (Event ID 4688) with command line auditing to capture suspicious execution patterns

How to Mitigate CVE-2026-23512

Immediate Actions Required

  • Update SumatraPDF to the latest patched version that addresses this vulnerability
  • Audit the SumatraPDF installation directory for any unexpected executable files and remove any suspicious binaries
  • Restrict write permissions on the SumatraPDF installation directory to administrators only
  • Consider implementing application control policies to prevent execution of unauthorized binaries

Patch Information

The vulnerability has been addressed in a code commit by the SumatraPDF development team. The fix modifies the application to use an absolute path when invoking Notepad, preventing the untrusted search path exploitation. Review the GitHub commit for technical details of the fix.

Users should update to the latest version of SumatraPDF available from the official website or GitHub releases page.

Workarounds

  • Remove write permissions for non-administrator users from the SumatraPDF installation directory using Windows ACLs
  • Avoid using the Advanced Options feature in vulnerable versions until the patch is applied
  • Deploy endpoint protection solutions that detect and block binary planting attacks in application directories
  • Implement Windows Defender Application Control (WDAC) or AppLocker policies to restrict executable loading to trusted directories
bash
# Windows PowerShell - Restrict write access to SumatraPDF directory
# Run as Administrator
$sumatraPath = "C:\Program Files\SumatraPDF"
$acl = Get-Acl $sumatraPath
$acl.SetAccessRuleProtection($true, $false)
$adminRule = New-Object System.Security.AccessControl.FileSystemAccessRule("BUILTIN\Administrators","FullControl","ContainerInherit,ObjectInherit","None","Allow")
$usersRule = New-Object System.Security.AccessControl.FileSystemAccessRule("BUILTIN\Users","ReadAndExecute","ContainerInherit,ObjectInherit","None","Allow")
$acl.AddAccessRule($adminRule)
$acl.AddAccessRule($usersRule)
Set-Acl $sumatraPath $acl

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSumatrapdf

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-426
  • Technical References
  • GitHub Commit Details

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-25880: SumatraPDF RCE Vulnerability

  • CVE-2026-25961: SumatraPDF RCE Vulnerability

  • CVE-2026-25920: SumatraPDF Buffer Overflow Vulnerability

  • CVE-2026-23951: SumatraPDF DOS 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