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

CVE-2026-25792: Greenshot Binary Hijacking Vulnerability

CVE-2026-25792 is a binary hijacking flaw in Greenshot versions 1.3.312 and below that enables local attackers to execute malicious code. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 27, 2026

CVE-2026-25792 Overview

CVE-2026-25792 is an untrusted executable search path vulnerability (CWE-426) affecting Greenshot, a popular open source Windows screenshot utility. The vulnerability allows a local attacker to execute arbitrary code by exploiting how the application launches explorer.exe without using an absolute path when the user interacts with the system tray icon.

Critical Impact

Local attackers can achieve code execution in the context of the Greenshot application by placing a malicious executable in a directory that is searched before the legitimate Windows system directory.

Affected Products

  • Greenshot version 1.3.312 and below
  • getgreenshot greenshot (all affected versions)

Discovery Timeline

  • 2026-03-20 - CVE-2026-25792 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-25792

Vulnerability Analysis

This vulnerability is classified as an Untrusted Search Path vulnerability (CWE-426), commonly known as binary hijacking or DLL planting. The flaw exists in how Greenshot invokes the Windows Explorer process when a user double-clicks on the application's system tray icon to open the directory containing their most recent screenshot.

When Greenshot needs to open the screenshot directory, it calls explorer.exe without specifying the full absolute path to the Windows system binary. Windows follows a specific search order when locating executables, checking several directories before reaching the legitimate C:\Windows\explorer.exe. This creates a window of opportunity for attackers who have write access to directories earlier in the search path.

The vulnerability requires local access and user interaction (double-clicking the tray icon), but once triggered, the attacker's malicious code executes with the same privileges as the Greenshot application.

Root Cause

The root cause is the insecure practice of calling system executables without using fully-qualified absolute paths. When Greenshot invokes explorer.exe to open the screenshot directory, it relies on the Windows PATH environment variable to locate the executable rather than explicitly specifying C:\Windows\explorer.exe or using proper Windows API calls that would safely resolve the system binary location.

Attack Vector

The attack requires a local attacker to place a malicious executable named explorer.exe in a directory that Windows searches before the C:\Windows\ system directory. Common hijacking locations include the current working directory or directories added to the beginning of the PATH environment variable.

The attack sequence involves the attacker first gaining write access to a directory in the executable search path, then planting a malicious explorer.exe in that location. When the victim double-clicks the Greenshot tray icon, the application attempts to open the screenshot folder, but instead executes the attacker's malicious binary. The malicious code then runs with the privileges of the Greenshot process.

For technical details on this vulnerability, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-25792

Indicators of Compromise

  • Presence of explorer.exe in non-standard locations such as user-writable directories, application folders, or TEMP directories
  • Process execution of explorer.exe from paths other than C:\Windows\explorer.exe
  • Unexpected child processes spawned by Greenshot that do not match normal application behavior

Detection Strategies

  • Monitor for explorer.exe executions where the image path does not match C:\Windows\explorer.exe
  • Configure endpoint detection to alert on newly created executables named explorer.exe in user-writable directories
  • Implement application allowlisting to restrict execution of binaries from untrusted paths
  • Use SentinelOne's behavioral AI to detect anomalous process creation patterns from Greenshot

Monitoring Recommendations

  • Enable process creation auditing (Event ID 4688) with command line logging to capture full executable paths
  • Monitor file system changes in directories that appear early in the system PATH variable
  • Review Greenshot-related process trees for unexpected child processes or suspicious behaviors

How to Mitigate CVE-2026-25792

Immediate Actions Required

  • Restrict write permissions on directories that appear in the system PATH environment variable
  • Audit systems for unauthorized executables named after common Windows binaries in user-writable locations
  • Consider temporary removal of Greenshot until a patched version becomes available
  • Implement application control policies to prevent execution of binaries from non-standard locations

Patch Information

This vulnerability did not have an official patch at the time of publication. Users should monitor the GitHub Security Advisory for updates from the Greenshot development team regarding a security fix.

Workarounds

  • Avoid double-clicking the Greenshot tray icon to open screenshot directories; navigate to screenshot folders manually through Windows Explorer
  • Remove write permissions from directories in the executable search path for non-administrative users
  • Deploy application allowlisting solutions to prevent execution of unsigned or untrusted explorer.exe binaries
  • Consider using alternative screenshot utilities until a patched version of Greenshot is released
bash
# Review PATH directories for potential hijacking locations
echo %PATH%

# Verify Greenshot is running from expected location
wmic process where "name='greenshot.exe'" get ExecutablePath

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGreenshot

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-426
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-22035: Greenshot Screenshot Utility RCE Vulnerability

  • CVE-2023-34634: Greenshot RCE 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