RCE in Getgreenshot Greenshot

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.009 (55.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-22035?
CVE-2026-22035 is a high-severity vulnerability in Getgreenshot Greenshot, classified under OS Command Injection. CVSS score: 7.7/10. Published 2026-01-08.
How severe is CVE-2026-22035?
High severity. CVSS v3 base score is 7.7 out of 10.