{"id":"CVE-2026-22035","published":"2026-01-08T00:10:28Z","modified":"2026-02-26T15:04:55Z","title":"Greenshot Vulnerable to OS Command Injection via ExternalCommand Plugin","vendor":"greenshot","product":"greenshot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01032,"percentile":0.64558,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/greenshot/greenshot/security/advisories/GHSA-7hvw-q8q5-gpmj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/greenshot/greenshot/commit/5dedd5c9f0a9896fa0af1d4980d875a48bf432cb","tags":["x_refsource_MISC"]},{"url":"https://github.com/greenshot/greenshot/releases/tag/v1.3.311","tags":["x_refsource_MISC"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":12.91},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"greenshot","affectedVersions":[{"vendor":"greenshot","product":"greenshot","versions":["< 1.3.311"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-01-09T04:55:31.712966Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-1663","exploited":false,"provenance":"source"}}