CVE-2021-3115

published 26 Jan 2021 · updated 12 Aug 2026

Go before 1.14.14 and 1.15.x before 1.15.7 on Windows is vulnerable to Command Injection and remote code execution when using the "go get" command to fetch modules that make use of cgo (for example cgo can execute a gcc program from an untrusted download).

7.5HighCVSS 7.5EPSS 7%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 7%. No fixed version is recorded.

Go before 1.14.14 and 1.15.x before 1.15.7 on Windows is vulnerable to Command Injection and remote code execution when using the "go get" command to fetch modules that make use of cgo (for example, cgo can execute a gcc program from an untrusted download).

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3115 severity on Zeptric[![CVE-2021-3115](https://zeptric.io/badge/cve/CVE-2021-3115.svg)](https://zeptric.io/cve/CVE-2021-3115)