CVE-2026-22035
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.
Published:Jan 8, 2026
Last Modified:Apr 18, 2026
EPS:Jan 8, 2026
EPSS Score:0.00042
CVSS Score:7.8
Affected Products
Vendor
Product
Action
Vendor
Getgreenshot
Product
Greenshot
Getgreenshot
Greenshot
Vendor
Greenshot
Product
Greenshot
Greenshot
Greenshot
Vendor
Microsoft
Product
Windows
Microsoft
Windows
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
