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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-52429 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 06 Mar 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-03-06T17:34:03.088Z

Reserved: 2022-05-11T00:00:00.000Z

Link: CVE-2022-30580

cve-icon Vulnrichment

Updated: 2024-08-03T06:56:12.971Z

cve-icon NVD

Status : Modified

Published: 2022-08-10T20:15:40.227

Modified: 2026-03-06T18:16:11.913

Link: CVE-2022-30580

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-08-10T00:00:00Z

Links: CVE-2022-30580 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses