VYPR
Unrated severityNVD Advisory· Published Aug 9, 2022· Updated Mar 6, 2026

Empty Cmd.Path can trigger unintended binary in os/exec on Windows

CVE-2022-30580

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

22

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.