Security readout for executives and security teams
Plain-English summary
Greenshot for Windows has a high-severity flaw in its ExternalCommand plugin. A specially named file can be processed in a way that causes unintended operating system commands to run. Exploitation requires local interaction and user involvement, but successful abuse could compromise confidentiality, integrity, and availability on the affected workstation.
Executive priority
Treat this as a near-term endpoint patching priority, not an internet-wide emergency. The issue is high impact if triggered, but requires local interaction and a vulnerable Greenshot configuration. Focus first on users who frequently handle external files or use Greenshot automation workflows.
Technical view
CVE-2026-22035 is CWE-78 OS command injection in Greenshot versions before 1.3.311. The advisory describes unsafe filename handling in FormatArguments within ExternalCommandDestination.cs, where user-controlled filenames are inserted into shell commands without sanitization. CVSS 3.1 is 7.8 with local attack vector, high complexity, no privileges, and required user interaction.
Likely exposure
Organizations with Greenshot versions 1.3.310 and below on Windows are potentially exposed, especially where the ExternalCommand plugin is installed or used. Exposure is workstation-focused rather than internet-facing based on the local attack vector in the CVSS data.
Exploitation context
The provided sources do not report active exploitation, and the CVE is not marked in KEV. Abuse requires a crafted filename and user interaction, which reduces broad automated risk but remains serious because successful execution can run arbitrary commands in the user context.
Researcher notes
Evidence is strongest from the GitHub security advisory, fixing commit, and 1.3.311 release reference. The source bundle identifies the vulnerable code path and fixed version. No public exploit status is provided in the sources, and no KEV listing is indicated.
Mitigation direction
- Upgrade Greenshot to version 1.3.311 or later.
- Prioritize endpoints where the ExternalCommand plugin is used.
- If upgrade is delayed, check Greenshot vendor guidance for supported workarounds.
- Limit use of external command workflows until patched.
- Communicate safe file-handling practices to affected users.
Validation and detection
- Inventory installed Greenshot versions across Windows endpoints.
- Flag Greenshot versions 1.3.310 and below as vulnerable.
- Confirm patched endpoints report version 1.3.311 or later.
- Review whether the ExternalCommand plugin is present or configured.
- Monitor affected endpoints for unusual Greenshot child processes.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupExecution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2026-22035 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.8 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H16Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.8HighVector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/greenshot/greenshot/security/advisories/GHSA-7hvw-q8q5-gpmjCVE reference · x_refsource_CONFIRM
- https://github.com/greenshot/greenshot/commit/5dedd5c9f0a9896fa0af1d4980d875a48bf432cbCVE reference · x_refsource_MISC
- https://github.com/greenshot/greenshot/releases/tag/v1.3.311CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
