Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
Greenshot is an open source Windows screenshot utility. Versions 1.3.310 and below arvulnerable to OS Command Injection through unsanitized filename processing. The FormatArguments method in ExternalCommandDestination.cs:269 uses string.Format() to insert user-controlled filenames directly into shell commands without sanitization, allowing attackers to execute arbitrary commands by crafting malicious filenames containing shell metacharacters. This issue is fixed in version 1.3.311.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA greenshot (greenshot) Fixed in 1.3.311
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22035
References
More Greenshot vulnerabilities
- TI-2025-36692 Greenshot — Insecure .NET deserialization via WM_COPYDATA enables local code execution CVSS 3.1HIGH 8.4
- TI-2023-17351 Greenshot 1.2.10 and below allows arbitrary code execution because .NET content is… CVSS 3.1HIGH 7.8
- TI-2026-20856 Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin CVSS 3.1MEDIUM 6.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences