CVE-2026-25792 Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgreenshot greenshot | <= 1.3.312 | after 1.3.312 | Fixed |
| greenshot | = <= 1.3.312 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| greenshot | = <= 1.3.312 | No fix listed |
| getgreenshot greenshot | <= 1.3.312 | No fix listed |
References
- https://github.com/greenshot/greenshot/security/advisories/GHSA-f8v9-7fph-fr2j exploit mitigation vendor-advisory