CVE-2026-22035

HIGH

Greenshot < 1.3.311 - OS Command Injection via Filename Processing

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.7
EPSS 0.0090
EPSS Percentile 54.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (1)
getgreenshot/greenshot < 1.3.311
Published Jan 08, 2026
Tracked Since Feb 18, 2026