CVE-2026-22035 HIGH

CVE-2026-22035: Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin

Vendor Greenshot
Product greenshot
Weakness CWE-78
Published January 8, 2026
Last update February 26, 2026

CVSS base score

7.8/10
Attack vector Local
Attack complexity High
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 8, 2026 CVE published
February 26, 2026 Record updated