CVE-2026-22035

7.7 HIGH
Published: January 08, 2026 Modified: January 27, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/greenshot/greenshot/releases/tag/v1.3.311
Source: security-advisories@github.com
Release Notes
https://github.com/greenshot/greenshot/security/advisories/GHSA-7hvw-q8q5-gpmj
Source: security-advisories@github.com
Vendor Advisory Exploit
https://github.com/greenshot/greenshot/security/advisories/GHSA-7hvw-q8q5-gpmj
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Vendor Advisory Exploit

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.7 / 10.0
EPSS (Exploit Probability)
0.0%
13th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

getgreenshot