CVE-2026-22035
Versions 1.3.310 and below arvulnerable to OS Command Injection through unsanitized filename processing.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.05%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.3 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 1.05% probability · 62th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- getgreenshot/greenshot
- Source
- security-advisories@github.com
References
- https://github.com/greenshot/greenshot/commit/5dedd5c9f0a9896fa0af1d4980d875a48bf432cbPatch
- https://github.com/greenshot/greenshot/releases/tag/v1.3.311Release Notes
- https://github.com/greenshot/greenshot/security/advisories/GHSA-7hvw-q8q5-gpmjExploit, Vendor Advisory
- https://github.com/greenshot/greenshot/security/advisories/GHSA-7hvw-q8q5-gpmjExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.