patchminder
Proof of concept · GitHub CVE-2018-6574

Vulnerabilityin the toolchain package.

Published 7 Feb 2018 · Updated 5 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 7.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.8.7, 1.9.4
In plain words

Go before 1.8.7, Go 1.9.x before 1.9.4, and Go 1.10 pre-releases before Go 1.10rc2 allow "go get" remote command execution during source code build, by leveraging the gcc or clang plugin feature, because -fplugin= and -plugin= arguments were not blocked.

What to do now
  • Upgrade toolchain (Go) to 1.8.7, 1.9.4 or later, whichever matches your release line.

Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
toolchain (Go)
before 1.8.7
1.8.7
GitHub advisory
toolchain (Go)
1.9.0-0 to before 1.9.4
1.9.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 2 Feb 2018
    CVE ID reserved by mitre.
  2. 7 Feb 2018
    Published in the CVE List.
  3. 2 Apr 2018
    First public proof of concept on GitHub.
  4. 5 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
91 repositories
GitHubno warning signs foundneargle/Go-Get-RCE-CVE-2018-6574-POC24 stars · created 24 Apr 2018CVE-2018-6574 POC : golang 'go get' remote command execution during source code build
GitHubno warning signs foundfrozenkp/CVE-2018-65742 stars · created 2 Dec 2019
GitHubno warning signs foundwb4r/go-get-rce1 stars · created 17 May 2018CVE-2018-6574 for pentesterLAB
GitHubno warning signs foundMalone5923/CVE-2018-6574-go-get-RCE1 stars · created 21 Jun 2020CVE-2018-6574: go get RCE solution for pentesterlab challenge
GitHubno warning signs foundDevang-Solanki/CVE-2018-65741 stars · created 15 Oct 2021Exploit for remote command execution in Golang go get command.
GitHubno warning signs foundItsFadinG/CVE-2018-65741 stars · created 20 Oct 2021
GitHubno warning signs foundthe-valluvarsploit/CVE-2018-65741 stars · created 24 Mar 2022
GitHubno warning signs foundmux0x/CVE-2018-65741 stars · created 3 Dec 2022
GitHubno warning signs foundacole76/cve-2018-65740 stars · created 2 Apr 2018
GitHubno warning signs foundahmetmanga/go-get-rce0 stars · created 20 May 2018cve-2018-6574 @pentesterlab

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2018-6574: Vulnerability in the toolchain package. https://patchminder.com/cve/cve-2018-6574/ (accessed 5 December 2026).