Skip to main content
← All vulnerabilities
CVE-2026-22035

Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.311
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • greenshot greenshot

    fixed in 1.3.311

References 3

GitHub · greenshot/greenshot