Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-25792Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin
Medium 6.5
In plain English
A medium-severity security flaw in greenshot from greenshot. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities).
Official description
Greenshot is an open source Windows screenshot utility. Versions 1.3.312 and below have untrusted executable search path / binary hijacking vulnerability that allows a local attacker to execute arbitrary code when the affected Windows application launches explorer.exe without using an absolute path. The vulnerable behavior is triggered when the user double-clicks the application’s tray icon, which opens the directory containing the most recent screenshot captured by the application. By placing a malicious executable with the same name in a location searched prior to the legitimate Windows binary, an attacker can gain code execution in the context of the application. This issue did not have a patch at the time of publication.
Affected products (as reported)
Weakness: CWE-426 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/greenshot/greenshot/security/advisories/GHSA-f8v9-7fph-fr2j x_refsource_CONFIRM