← Back to CVE List
Vulnerability Intelligence Report
Empty Cmd.Path can trigger unintended binary in os/exec on Windows

CVE-2022-30580

Code injection in Cmd.Start in os/exec before Go 1.17.11 and Go 1.18.3 allows execution of any binaries in the working directory named either "..com" or "..exe" by calling Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset.

No Active Exploit Signals
CVSS Base Score
7.8
HIGH
Exploitability:1.9
Impact Score:5.9
EPSS Probability:0.58%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-94 ↗CWE-94: Improper Control of Generation of Code ('Code Injection')

Affected Products & Versions

Vendor Product Affected Versions
Go standard library os/exec 0 < 1.17.11 (affected), 1.18.0-0 < 1.18.3 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
0.578%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityGo Project · Vendor · USA
Reserved2022-05-11T00:00:00
Published2022-08-09T20:18:04
Last Updated2026-03-06T17:34:03

LINK COPIED TO CLIPBOARD