CVE 7.8 HIGH

Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin_CVE-2026-22035

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

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.

Basic Information

ID CVE-2026-22035
Source GitHub_M
Published Jan 8, 2026 at 00:10

Affected Product

Vendor greenshot
Product greenshot
Version < 1.3.311
Affected Versions greenshot greenshot < 1.3.311

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.