CVE-2026-22035
Last modified
CVE-2026-22035 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. Greenshot is an open source Windows screenshot utility. Versions 1.3.310 and below arvulnerable to OS Command Injection through unsanitized filename processing. EPSS estimates a 0.90% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Getgreenshot | Greenshot | < 1.3.311 |
References
- 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
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-22035?
How severe is CVE-2026-22035?
How do I fix CVE-2026-22035?
Are you affected by CVE-2026-22035?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
