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

Published Jan 8, 2026
·
Updated

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.

Affected Software

2 affected components
Greenshot Greenshot<=1.3.310
Getgreenshot Greenshot<1.3.311

Event History

Jan 8, 2026
CVE Published
via MITRE·12:10 AM
Data Sourced
via MITRE·12:10 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 29, 58046
Event
via FIRST·03:25 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-22035?

CVE-2026-22035 is rated as a medium severity vulnerability due to its potential for OS command injection.

2

How do I fix CVE-2026-22035?

To fix CVE-2026-22035, upgrade Greenshot to version 1.3.311 or newer.

3

What versions of Greenshot are affected by CVE-2026-22035?

CVE-2026-22035 affects Greenshot versions 1.3.310 and below.

4

What type of vulnerability is CVE-2026-22035?

CVE-2026-22035 is categorized as an OS Command Injection vulnerability.

5

What component of Greenshot is involved in CVE-2026-22035?

CVE-2026-22035 involves the FormatArguments method in the ExternalCommandDestination.cs file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203