PT-2026-2141 · Greenshot · Greenshot

Lihnucs

·

Publicado

2026-01-08

·

Atualizado

2026-01-13

·

CVE-2026-22035

CVSS v3.1

7.7

Alta

VetorAV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Greenshot versions 1.3.310 and below
Description Greenshot is a Windows screenshot utility. Versions 1.3.310 and below are susceptible to an OS Command Injection issue due to inadequate sanitization of filenames. The FormatArguments function within the ExternalCommandDestination.cs file (line 269) utilizes string.Format() to incorporate user-provided filenames directly into shell commands without proper sanitization. This allows attackers to execute arbitrary commands by crafting malicious filenames containing shell metacharacters. The issue is addressed in version 1.3.311.
Recommendations Versions prior to 1.3.311 are vulnerable. Update Greenshot to version 1.3.311 or later.

Exploit

Correção

OS Command Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2026-22035
GHSA-7HVW-Q8Q5-GPMJ

Produtos afetados

Greenshot