LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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 · medium confidence lookup

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 lookup
description · low confidence lookup

Execution 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 lookup
cve · low confidence lookup

CVE-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
Vulnerability profileCVE Program record
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

Official CVE source material

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.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We 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.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H16Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2026-22035Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
greenshotgreenshot< 1.3.311Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.