CVE-2026-22035
HIGH EPSS 55.0%
Published Jan 8, 20265mo ago · Modified Jun 17, 20261w ago
7.3 CVSS 3.1
Published Jan 8, 2026 5mo ago
Last Modified Jun 17, 2026 1w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
55.0% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-78 OS Command Injection Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| getgreenshot | greenshot | * | <1.3.311 |
References 3
- github.com https://github.com/greenshot/greenshot/commit/5dedd5c9f0a9896fa0af1d4980d875a48bf432cb
- github.com https://github.com/greenshot/greenshot/releases/tag/v1.3.311
- github.com https://github.com/greenshot/greenshot/security/advisories/GHSA-7hvw-q8q5-gpmj
Remediation
- github.com https://github.com/greenshot/greenshot/commit/5dedd5c9f0a9896fa0af1d4980d875a48bf432cb