CVE-2018-6574

HIGH

GO < 1.8.6 - Code Injection

Title source: rule
STIX 2.1

Exploitation Summary

EIP tracks 90 public exploits for CVE-2018-6574. PoCs published by neargle, frozenkp, mux0x.

AI-analyzed exploit summary This PoC demonstrates CVE-2018-6574, a vulnerability in Go's `go get` command that allows arbitrary code execution via malicious plugins. The exploit uses platform-specific shared libraries to execute commands (e.g., launching a calculator or creating a file).

Description

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.

Exploits (90)

nomisec WORKING POC 24 stars
by neargle · poc
https://github.com/neargle/Go-Get-RCE-CVE-2018-6574-POC

This PoC demonstrates CVE-2018-6574, a vulnerability in Go's `go get` command that allows arbitrary code execution via malicious plugins. The exploit uses platform-specific shared libraries to execute commands (e.g., launching a calculator or creating a file).

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go versions before 1.8.7, 1.9.4, and 1.10rc2
No auth needed
Prerequisites: Attacker must convince victim to run `go get` on a malicious repository · GCC with plugin support for compilation
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 2 stars
by frozenkp · poc
https://github.com/frozenkp/CVE-2018-6574

This PoC exploits CVE-2018-6574 in Go versions before 1.8.7, 1.9.x before 1.9.4, and 1.10 pre-releases by leveraging the gcc/clang plugin feature to execute arbitrary commands during `go get`. The exploit uses a dynamic library to trigger remote command execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (before 1.8.7, 1.9.x before 1.9.4, 1.10 pre-releases before 1.10rc2)
No auth needed
Prerequisites: Victim must have a vulnerable Go version installed · Attacker must host the malicious repository on an accessible git server · Victim must execute `go get` on the attacker's repository
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by mux0x · poc
https://github.com/mux0x/CVE-2018-6574

This PoC exploits CVE-2018-6574 by leveraging a constructor function in a shared library to execute arbitrary commands. The Go program loads the malicious library via cgo, triggering the exploit during initialization.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems vulnerable to CVE-2018-6574 (likely a specific library or binary)
No auth needed
Prerequisites: Ability to compile and load a shared library · Target system must be vulnerable to CVE-2018-6574
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by the-valluvarsploit · poc
https://github.com/the-valluvarsploit/CVE-2018-6574

This PoC demonstrates a dynamic library injection exploit via Go's cgo, leveraging a malicious constructor in a shared object to execute arbitrary commands. The attack.c file contains a constructor that runs a system command, while main.go loads it as a plugin.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using Go with cgo and vulnerable to shared library injection
No auth needed
Prerequisites: Ability to place a malicious shared object in the library search path · Execution context where cgo is used
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by ItsFadinG · poc
https://github.com/ItsFadinG/CVE-2018-6574

This PoC exploits CVE-2018-6574, a vulnerability in Go's cgo that allows arbitrary command execution via a malicious plugin. The exploit uses a shared library with a constructor function to execute commands when loaded.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go before 1.8.7, before 1.9.4, and before 1.10rc2
No auth needed
Prerequisites: Ability to host a malicious Go module · Victim must run 'go get' on the malicious module
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by Devang-Solanki · poc
https://github.com/Devang-Solanki/CVE-2018-6574

This PoC demonstrates CVE-2018-6574, a remote command execution vulnerability in Go's `go get` command via malicious C compiler plugins. The exploit leverages the `-fplugin` flag in gcc/clang to load a shared library containing arbitrary code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go before 1.8.7, Go 1.9.x before 1.9.4, Go 1.10 pre-releases before Go 1.10rc2
No auth needed
Prerequisites: Victim must run `go get` on a malicious package · Cgo must be enabled · Attacker must host a malicious package with a compiled exploit.so
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by Malone5923 · poc
https://github.com/Malone5923/CVE-2018-6574-go-get-RCE

This PoC exploits CVE-2018-6574 by leveraging a malicious shared library (attack.so) loaded via Go's cgo to execute arbitrary commands. The attack.c file contains a constructor function that triggers a system command upon library load.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (versions affected by CVE-2018-6574)
No auth needed
Prerequisites: Ability to place a malicious shared library in the build environment · Victim must compile the Go code with the malicious library
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB 1 stars
by wb4r · poc
https://github.com/wb4r/go-get-rce

This code is a minimal Go program that prints a string via C interop, but it does not demonstrate any exploit or vulnerability. It lacks any offensive techniques or payloads related to CVE-2018-6574.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: none
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec TROJAN
by r00tpgp · poc
https://github.com/r00tpgp/CVE-2018-6574

The repository contains deceptive code with a malicious constructor in 'attack.c' that executes an arbitrary command unrelated to CVE-2018-6574. The Go code imports this malicious C function, disguising it as a legitimate PoC.

Classification
Trojan 95%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: unspecified
No auth needed
Prerequisites: compilation with malicious C plugin
devstral-2 · analyzed Apr 24, 2026 Full analysis →
nomisec WORKING POC
by hbxxv · poc
https://github.com/hbxxv/CVE-2018-6574

This PoC demonstrates a dynamic library injection via CGo in Go, exploiting CVE-2018-6574. The `attack.c` file contains a constructor function that executes a command when loaded, while `main.go` loads the malicious library through CGo directives.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using CGo with vulnerable plugin loading
No auth needed
Prerequisites: Ability to inject a malicious dynamic library into the build process · Target application must use CGo with vulnerable plugin loading
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Rezy-Dev · poc
https://github.com/Rezy-Dev/CVE-2018-6574

This PoC demonstrates a dynamic library injection via a Go program using cgo to load a malicious shared object (attack.so). The attack.c file contains a constructor function that executes arbitrary commands upon library load.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems with Go and cgo support (unspecified version)
No auth needed
Prerequisites: Ability to compile and execute Go code · Write access to the target system to place the malicious shared object
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by YoussefSalama1 · poc
https://github.com/YoussefSalama1/CVE-2018-6574

This is a minimal Go stub demonstrating a C function call via cgo, but it does not exploit CVE-2018-6574. The code lacks any offensive techniques or vulnerability-specific logic.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: N/A
No auth needed
Prerequisites: None
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by memmas · poc
https://github.com/memmas/CVE-2018-6574

This PoC demonstrates a constructor-based code execution via a shared library (exploit.so) loaded by a Go program. The exploit leverages the CGO mechanism to execute arbitrary code during initialization.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using CGO with vulnerable plugin loading (specific version unclear)
No auth needed
Prerequisites: Ability to compile and load a malicious shared library · Target system must execute the Go binary with the vulnerable CGO configuration
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by solovvway · poc
https://github.com/solovvway/CVE-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) by using a Go program to load a malicious shared object (attack.so) via cgo, which executes arbitrary code during initialization. The attack.c file contains a constructor function that triggers a system command execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using cgo with vulnerable dynamic library loading (specific software not explicitly stated)
No auth needed
Prerequisites: Ability to compile and execute Go code · Write access to the target system to place the malicious shared object
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by paulogmota · poc
https://github.com/paulogmota/CVE-2018-6574

This PoC exploits CVE-2018-6574 by leveraging Go's cgo plugin feature to load a malicious shared library (attack.so) during compilation, achieving arbitrary command execution. The attack involves tricking a target into compiling a Go program with a malicious plugin.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (versions affected by CVE-2018-6574)
No auth needed
Prerequisites: Target must compile the malicious Go program · Attacker must host the malicious files on a repository accessible to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Saptaktdk · poc
https://github.com/Saptaktdk/go-get-RCE

This repository contains a functional exploit for CVE-2018-6574, demonstrating how a malicious Go library can execute arbitrary code via the `go get` command. The exploit leverages a constructor function in C to execute a system command when the library is imported.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (versions before 1.8.7, 1.9.4, and 1.10rc2)
No auth needed
Prerequisites: Attacker must convince a victim to run `go get` on a malicious library
devstral-2 · analyzed May 19, 2026 Full analysis →
nomisec WORKING POC
by elw0od · poc
https://github.com/elw0od/PentesterLab

This PoC demonstrates a shared library injection attack via a Go program using cgo. The attack.c file contains a constructor function that executes a command to submit a score, likely for a PentesterLab exercise.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using cgo with vulnerable plugin loading
No auth needed
Prerequisites: Ability to compile and load a malicious shared library · Target application must use cgo with vulnerable plugin loading
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Saboor-Hakimi · poc
https://github.com/Saboor-Hakimi/CVE-2018-6574

This PoC demonstrates CVE-2018-6574 by exploiting a vulnerability in Go's cgo to execute arbitrary code via a malicious shared library. The attack.c file contains a constructor function that executes a command when loaded.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo)
No auth needed
Prerequisites: Ability to compile and link malicious shared library · Target system must execute the Go binary
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by lisu60 · poc
https://github.com/lisu60/cve-2018-6574

The repository contains a C-based exploit leveraging a constructor attribute to execute arbitrary commands via system() and a Go-based component that interfaces with the C code. The exploit appears to target a specific vulnerability (CVE-2018-6574) by executing a predefined command.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Unknown (CVE-2018-6574 likely targets a specific software, but details are not provided in the code)
No auth needed
Prerequisites: Compilation of the C code into a shared library · Execution environment with the targeted software
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by faqihudin13 · poc
https://github.com/faqihudin13/CVE-2018-6574

This PoC exploits CVE-2018-6574, a vulnerability in Go's `go get` command that allows arbitrary code execution via malicious plugins. The `attack.c` file contains a constructor function that executes a command, while `main.go` demonstrates the exploitation by loading the malicious plugin.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (go get command)
No auth needed
Prerequisites: Attacker must convince victim to run `go get` on a malicious repository
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by iNoSec2 · poc
https://github.com/iNoSec2/cve-2018-6574

This PoC demonstrates a shared library injection attack via a constructor function in C, which executes arbitrary code when loaded. The Go component serves as a test harness to trigger the malicious payload.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Unspecified (likely a PentesterLab exercise environment)
No auth needed
Prerequisites: Ability to load a malicious shared library into the target process
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by bme2003 · poc
https://github.com/bme2003/CVE-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) by using a malicious constructor in a shared object (attack.so) loaded via cgo in a Go program. The exploit executes arbitrary code (a system command) when the shared library is loaded.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using cgo with vulnerable library loading
No auth needed
Prerequisites: Ability to place a malicious shared object in the library search path · Target application must use cgo and load the malicious library
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by Dannners · poc
https://github.com/Dannners/CVE-2018-6574-go-get-RCE

This repository contains a minimal Go program that prints a string, but it does not demonstrate any exploit for CVE-2018-6574. The code lacks any offensive techniques or vulnerability exploitation logic.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by faiqu3 · poc
https://github.com/faiqu3/cve-2018-6574

This PoC demonstrates a dynamic library injection via Go's cgo to execute arbitrary code during program initialization. The `attack.c` file uses a constructor attribute to run a system command, while `main.go` loads the malicious library.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems with Go and gcc supporting constructor attributes
No auth needed
Prerequisites: Go environment · gcc with constructor support · ability to compile and execute binaries
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by jftierno · poc
https://github.com/jftierno/CVE-2018-6574

This PoC demonstrates CVE-2018-6574 by exploiting a vulnerability in Go's cgo plugin system to execute arbitrary code via a malicious shared library. The attack.c file contains a constructor function that executes a command when loaded.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo plugin system)
No auth needed
Prerequisites: Ability to load a malicious shared library into the target Go program
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by jftierno · poc
https://github.com/jftierno/-CVE-2018-6574

This exploit leverages a constructor function in C to execute arbitrary commands via the `system` call. It targets a specific binary (`/usr/local/bin/score`) with a predefined UUID, suggesting it is designed for a capture-the-flag (CTF) or controlled testing environment.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Unknown (likely a CTF or custom application)
No auth needed
Prerequisites: Access to execute the binary on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by zerbaliy3v · poc
https://github.com/zerbaliy3v/cve-2018-6574-exploit

This exploit leverages a shared library (attack.so) with a constructor function to execute arbitrary commands via system(). The Go program loads this library, demonstrating a potential RCE vector.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems vulnerable to CVE-2018-6574 (likely a Linux-based system with specific conditions)
No auth needed
Prerequisites: Ability to compile and load a shared library on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by NsByte · poc
https://github.com/NsByte/CVE-2018-6574

This PoC demonstrates a vulnerability in Go's cgo by exploiting a constructor function in a malicious shared library (attack.so) to execute arbitrary code during program initialization. The attack.c file contains a constructor function that triggers a reverse shell via netcat, while main.go is a benign program that loads the malicious library.

Classification
Working Poc 80%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo)
No auth needed
Prerequisites: Ability to compile and load a shared library · Target system must execute the Go program with the malicious library
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by jahwni · poc
https://github.com/jahwni/CVE-2018-6574

This PoC demonstrates a dynamic linker hijacking vulnerability (CVE-2018-6574) by using a malicious constructor in a shared object (attack.so) to execute arbitrary code when loaded via cgo in a Go program. The exploit leverages the LD_PRELOAD-like behavior in Go's cgo to trigger the malicious payload.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo) with vulnerable dynamic linking behavior
No auth needed
Prerequisites: Compiler support for shared objects · Go toolchain with cgo enabled · Ability to influence the dynamic linker path
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by antunesmpedro · poc
https://github.com/antunesmpedro/CVE-2018-6574

This PoC exploits CVE-2018-6574 by leveraging a malicious constructor in a shared library (exploit.so) loaded via cgo in a Go program. The exploit executes arbitrary code (a system command) when the library is loaded.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (golang) with cgo, versions affected by CVE-2018-6574
No auth needed
Prerequisites: Ability to compile and load a malicious shared library · Target system must execute the Go program with cgo enabled
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by seoqqq · poc
https://github.com/seoqqq/CVE-2018-6574

This PoC demonstrates CVE-2018-6574, a vulnerability in Golang's 'go get' command allowing remote code execution via malicious library installation. The exploit leverages compiler flags to execute arbitrary code during native extension builds.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Golang go get command (versions before 1.8.7, 1.9.4, and 1.10rc2)
No auth needed
Prerequisites: Victim must run 'go get' on a malicious library
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SUSPICIOUS
by chr1sM · poc
https://github.com/chr1sM/CVE-2018-6574

The repository contains a C file with a constructor function that executes a system command, which is unusual for a PoC. The Go file appears unrelated to the CVE and does not demonstrate exploitation. No clear exploitation of CVE-2018-6574 is present.

Classification
Suspicious 80%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unspecified
No auth needed
Prerequisites: none
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by hasharmujahid · poc
https://github.com/hasharmujahid/CVE-2018-6574-go-get-RCE

This PoC exploits CVE-2018-6574 by leveraging Go's `go get` command to execute arbitrary code via malicious CFLAGS during package installation. The attack involves a shared library (`attack.so`) that executes a command when loaded.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (golang) with `go get` command
No auth needed
Prerequisites: Victim must run `go get` on a malicious package · Attacker must host the malicious package on a repository
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by markisback · poc
https://github.com/markisback/CVE-2018-6574

This PoC demonstrates a dynamic library injection via Go's cgo to execute arbitrary code during program initialization. The attack.c file uses a constructor attribute to run a malicious function before main(), while main.go loads the shared library to trigger the exploit.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using Go with cgo and vulnerable to library injection
No auth needed
Prerequisites: Ability to place a malicious shared library in the library search path · Target application using cgo
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by tjcim · poc
https://github.com/tjcim/cve-2018-6574

This PoC demonstrates CVE-2018-6574, a vulnerability in the Go compiler's plugin system that allows arbitrary code execution via a malicious shared object. The exploit uses a constructor function in a shared library to execute arbitrary commands (e.g., 'sleep 10') when loaded by a Go program.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go compiler (versions affected by CVE-2018-6574)
No auth needed
Prerequisites: Ability to place a malicious shared object in the target's build environment
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by Cypheer · poc
https://github.com/Cypheer/exploit_CVE-2018-6574

The provided code is a minimal Go program that imports a C function and calls it, but it lacks any exploitative logic or reference to CVE-2018-6574. It appears to be a placeholder or incomplete PoC.

Classification
Stub 30%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: none identified
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by jftierno · poc
https://github.com/jftierno/CVE-2018-6574-2

This PoC demonstrates CVE-2018-6574, a vulnerability in Go's cgo that allows arbitrary code execution via a malicious plugin. The exploit uses a crafted shared library (attack.so) to hijack function execution.

Classification
Working Poc 80%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo) versions prior to 1.10.1
No auth needed
Prerequisites: Ability to place a malicious shared library (attack.so) in the target's environment
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by yavolo · poc
https://github.com/yavolo/CVE-2018-6574

This PoC demonstrates CVE-2018-6574 by exploiting a vulnerability in Go's cgo to execute arbitrary code via a malicious shared library. The `a.c` file contains a constructor function that executes a command, while `main.go` loads it as a plugin.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo)
No auth needed
Prerequisites: Ability to compile and link malicious shared library · Target system must execute the Go binary with the malicious plugin
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by qweraqq · poc
https://github.com/qweraqq/CVE-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) in Go's cgo by using a malicious shared object (attack.so) to execute arbitrary commands during program initialization. The Go program (rce.go) loads the malicious library via cgo, triggering the constructor-based payload.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo) versions affected by CVE-2018-6574
No auth needed
Prerequisites: Ability to compile and link malicious shared library · Victim must execute the Go binary with the malicious plugin
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by twseptian · poc
https://github.com/twseptian/cve-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) by compiling a malicious shared object (attack.so) that executes arbitrary commands via a constructor function. The main.go file loads this library using cgo, triggering the malicious payload.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using cgo with untrusted shared libraries
No auth needed
Prerequisites: Ability to compile and load a malicious shared library · Target application using cgo
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by imojne · poc
https://github.com/imojne/CVE-2018-6574-POC

This PoC demonstrates CVE-2018-6574 by exploiting a vulnerability in Go's cgo plugin system to execute arbitrary code via a malicious shared library. The attack.c file contains a constructor function that executes a command when loaded.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo plugin system)
No auth needed
Prerequisites: Access to compile and execute Go code with cgo · Ability to load a malicious shared library
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by R3dAlch3mist · poc
https://github.com/R3dAlch3mist/cve-2018-6574

This PoC demonstrates a vulnerability in Go's cgo by loading a malicious shared object (attack.so) via a constructor function, which executes arbitrary code. The main.go file triggers the malicious payload by calling a function bridged through cgo.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo)
No auth needed
Prerequisites: Ability to compile and load a malicious shared object · Execution context where cgo is used
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by l3ouu4n9 · poc
https://github.com/l3ouu4n9/CVE-2018-6574-POC

This PoC demonstrates CVE-2018-6574, a vulnerability in Go's cgo that allows arbitrary code execution via a malicious plugin. The attack.c file contains a constructor that executes a system command, while main.go loads the plugin and triggers the malicious code.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo) versions prior to 1.10.8 and 1.11.5
No auth needed
Prerequisites: Ability to place a malicious plugin in the target's plugin directory or influence the plugin loading path
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by noobTest1122 · poc
https://github.com/noobTest1122/CVE-2018-6574

This PoC demonstrates a dynamic library injection attack via a Go program that loads a malicious shared object (attack.so) using cgo. The attack.c file contains a constructor function that executes arbitrary code upon library load.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using cgo with untrusted shared libraries
No auth needed
Prerequisites: Ability to compile and load a malicious shared library · Execution context where cgo is used
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by jaya522 · poc
https://github.com/jaya522/CVE-2018-6574-go-get-RCE

This PoC demonstrates CVE-2018-6574, a Go `go get` RCE vulnerability via malicious C plugin execution. The `attack.c` file contains a constructor-based payload, while `main.go` loads it via cgo, triggering arbitrary command execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (go get command)
No auth needed
Prerequisites: Attacker-controlled repository accessible via `go get`
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by sec000 · poc
https://github.com/sec000/cve-2018-6574

This PoC demonstrates a shared library injection attack via a Go program that loads a malicious C shared object. The C code executes a command via the constructor attribute, simulating arbitrary code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using Go with cgo and vulnerable to shared library injection
No auth needed
Prerequisites: Ability to compile and load a malicious shared library · Execution context where the Go program runs with sufficient privileges
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by repos13579 · poc
https://github.com/repos13579/labCVE-2018-6574

This PoC demonstrates a dynamic linker hijacking vulnerability (CVE-2018-6574) by using a malicious shared object (attack.so) loaded via a Go program with cgo. The attack.c file contains a constructor function that executes arbitrary commands (e.g., 'ls').

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: GNU C Library (glibc) dynamic linker (ld.so)
No auth needed
Prerequisites: Ability to place a malicious shared object in a directory searched by the dynamic linker · Execution of a binary that uses the vulnerable linker behavior
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec TROJAN
by OLAOLAOLA789 · poc
https://github.com/OLAOLAOLA789/CVE-2018-6574

The repository claims to be a PoC for CVE-2018-6574 but contains a malicious constructor in 'attack.c' that executes arbitrary code via 'system()'. The Go code is a benign wrapper that loads the malicious shared object, disguising the attack as a legitimate PoC.

Classification
Trojan 95%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: unspecified (likely a decoy)
No auth needed
Prerequisites: Victim must compile and run the Go program with the malicious shared object
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by MohamedTarekq · poc
https://github.com/MohamedTarekq/test-CVE-2018-6574-

This PoC demonstrates a dynamic library injection via CGO in Go, exploiting CVE-2018-6574 by loading a malicious shared object (attack.so) that executes arbitrary code during initialization. The attack.c file contains a constructor function that triggers a system command, while main.go loads the malicious library via CGO flags.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using CGO with vulnerable plugin loading (CVE-2018-6574)
No auth needed
Prerequisites: Ability to compile and load a malicious shared object · Target application must use CGO with vulnerable plugin loading
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by theJuan1112 · poc
https://github.com/theJuan1112/pentesterlab-cve-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) by using a Go program to load a malicious shared object (attack.so) via cgo. The shared object executes arbitrary code during initialization via the constructor attribute.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems vulnerable to CVE-2018-6574 (likely a specific version of a software using dynamic library loading)
No auth needed
Prerequisites: Ability to compile and execute Go code on the target system · Write access to the directory where the shared object is loaded
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by killtr0 · poc
https://github.com/killtr0/POC-CVE-2018-6574

This PoC demonstrates CVE-2018-6574, a vulnerability in Go's cgo that allows arbitrary code execution via a malicious plugin. The attack.c file compiles into a shared object that executes a command when loaded, while main.go loads this plugin.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo) versions affected by CVE-2018-6574
No auth needed
Prerequisites: Ability to compile and load a malicious plugin into a Go program using cgo
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by purgedemo · poc
https://github.com/purgedemo/CVE-2018-6574_2

This PoC demonstrates a shared library injection exploit for CVE-2018-6574, leveraging a constructor function to execute arbitrary code (e.g., 'sleep 20') when loaded via a Go program using cgo. The exploit abuses dynamic linking to achieve code execution.

Classification
Working Poc 80%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems vulnerable to CVE-2018-6574 (likely a specific Linux distribution or software with insecure library loading)
No auth needed
Prerequisites: Ability to place a malicious shared library in a searchable path · Execution context where the Go program with cgo is run
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by purgedemo · poc
https://github.com/purgedemo/CVE-2018-6574

This PoC exploits CVE-2018-6574 by leveraging a shared library (exploit.so) with a constructor function that executes arbitrary commands. The Go program loads this library, triggering the malicious payload.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Unknown (likely a specific software vulnerable to CVE-2018-6574)
No auth needed
Prerequisites: Ability to compile and load a shared library on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by PLP-Orange · poc
https://github.com/PLP-Orange/cve-2018-6574-exercise

This PoC demonstrates a dynamic library injection via Go's cgo directive to execute arbitrary code during program initialization. The attack.c file uses a constructor attribute to trigger a system command upon library load.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using cgo with untrusted plugins
No auth needed
Prerequisites: Ability to inject a malicious shared library into the build process · Target application must use cgo with untrusted plugins
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by vishack · poc
https://github.com/vishack/CVE-2018-6574

This PoC demonstrates a dynamic library injection via Go's cgo to execute arbitrary code during program initialization. The `attack.c` file uses a constructor attribute to run a malicious function, while `main.go` loads the shared library and triggers the payload.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using Go with cgo and vulnerable to library injection (CVE-2018-6574)
No auth needed
Prerequisites: Ability to inject a malicious shared library into the build process · Target system must execute the Go binary with the malicious library
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by NikolaT3sla · poc
https://github.com/NikolaT3sla/cve-2018-6574

This PoC demonstrates a vulnerability in Go's cgo by exploiting a constructor function in a malicious shared library (attack.so) to execute arbitrary commands. The main.go file loads the library and triggers the malicious code via a function call.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo)
No auth needed
Prerequisites: Ability to compile and load a malicious shared library · Target system must execute the Go binary
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec TROJAN
by shadofren · poc
https://github.com/shadofren/CVE-2018-6574

The repository claims to be a PoC for CVE-2018-6574 but instead uses a malicious C plugin to execute arbitrary commands via a constructor function. The Go code is a decoy to load the malicious plugin.

Classification
Trojan 95%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: unspecified (deceptive)
No auth needed
Prerequisites: victim must compile and run the Go program
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SUSPICIOUS
by noname-nohost · poc
https://github.com/noname-nohost/CVE-2018-6574

The repository claims to be a PoC for CVE-2018-6574 but contains a C file with a constructor function that executes a suspicious command and a Go file that appears unrelated to the stated vulnerability. The C code is deceptive as it does not demonstrate the vulnerability but instead runs an arbitrary command.

Classification
Suspicious 70%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by mhamed366 · poc
https://github.com/mhamed366/CVE-2018-6574

This repository contains a minimal Go program that demonstrates a plugin-based function call, but it does not exploit CVE-2018-6574. The code lacks any offensive techniques or vulnerability exploitation logic.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: N/A
No auth needed
Prerequisites: None
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by jongmartinez · poc
https://github.com/jongmartinez/CVE-2018-6574-POC

The repository contains a minimal Go program that demonstrates a basic C function call via cgo, but it does not exploit CVE-2018-6574. The README references the CVE but lacks technical details or exploit logic.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unspecified (CVE-2018-6574 affects GNU C Library (glibc))
No auth needed
Prerequisites: none
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by pswalia2u · poc
https://github.com/pswalia2u/CVE-2018-6574

The exploit leverages a constructor-based code execution in C (via `malicious()` function) and a Go-based plugin mechanism to trigger arbitrary code execution. The C code executes a system command, while the Go code demonstrates plugin-based function invocation.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Unspecified (likely a vulnerable binary or plugin system)
No auth needed
Prerequisites: Ability to compile and execute the exploit code · Target system with vulnerable software
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by lsnakazone · poc
https://github.com/lsnakazone/cve-2018-6574

The provided code is a minimal Go program demonstrating a C function bridge via cgo, unrelated to CVE-2018-6574. It lacks exploit logic or vulnerability targeting.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: N/A
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by kawkab101 · poc
https://github.com/kawkab101/cve-2018-6574

This PoC demonstrates a dynamic linker hijacking vulnerability (CVE-2018-6574) via a malicious shared object (attack.so) loaded as a plugin in a Go program. The attack.c file contains a constructor function that executes arbitrary commands upon loading.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: GNU linker (ld) and Go programs using cgo with plugins
No auth needed
Prerequisites: Ability to place a malicious shared object in the plugin search path · Target program must use cgo with plugin loading
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by TakuCoder · poc
https://github.com/TakuCoder/CVE-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) by using a malicious constructor in a shared object (attack.c) loaded via cgo in a Go program (main.go). The exploit executes arbitrary code during library initialization.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems vulnerable to CVE-2018-6574 (likely a specific library or runtime)
No auth needed
Prerequisites: Ability to inject a malicious shared library into the target process or environment
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by illnino · poc
https://github.com/illnino/CVE-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) by using a Go program to load a malicious shared object (attack.so) via cgo. The attack.c file contains a constructor function that executes arbitrary code upon library load.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using cgo with vulnerable plugin loading
No auth needed
Prerequisites: Ability to compile and load a malicious shared object · Target application must use cgo with vulnerable plugin loading
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by it3x55 · poc
https://github.com/it3x55/CVE-2018-6574

This PoC exploits CVE-2018-6574 by leveraging a malicious constructor in a shared library to execute arbitrary commands. The Go program dynamically loads the library, triggering the exploit.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Pentesterlab (specific version not specified)
No auth needed
Prerequisites: Ability to compile and load a shared library on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by darthvader-htb · poc
https://github.com/darthvader-htb/CVE-2018-6574

This PoC exploits CVE-2018-6574 by leveraging a malicious shared library (attack.so) loaded via Go's cgo, executing arbitrary code during program initialization. The attack.c file uses a constructor attribute to trigger a system command, while main.go demonstrates the exploitation vector.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using cgo with vulnerable plugin loading
No auth needed
Prerequisites: Ability to load a malicious shared library into the target process · Target application must use cgo with vulnerable plugin loading
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by zur250 · poc
https://github.com/zur250/Zur-Go-GET-RCE-Solution

This PoC demonstrates a remote code execution (RCE) vulnerability in a Go application by leveraging a malicious shared library (attack.so) loaded via cgo. The attack.c file contains a constructor function that executes arbitrary commands upon library load.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using cgo with untrusted shared libraries
No auth needed
Prerequisites: Ability to inject or replace a shared library (.so file) used by the target Go application
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by coblax · poc
https://github.com/coblax/CVE-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) via a Go program that loads a malicious shared object (attack.so) using a constructor function to execute arbitrary commands. The attack.c file contains a constructor-based payload that triggers a system command.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems vulnerable to dynamic library injection (specific software not explicitly stated)
No auth needed
Prerequisites: Ability to compile and execute Go code · Write access to the target directory for the shared object
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SUSPICIOUS
by Eugene24 · poc
https://github.com/Eugene24/CVE-2018-6574

The repository contains a C file with a constructor function that executes a sleep command, and a Go file that appears to be a benign example of CGo usage. The C file's purpose is unclear and may be deceptive.

Classification
Suspicious 70%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unspecified
No auth needed
Prerequisites: none
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by yitingfan · poc
https://github.com/yitingfan/CVE-2018-6574_demo

This PoC demonstrates CVE-2018-6574 by exploiting a vulnerability in Go's cgo plugin system to execute arbitrary code via a malicious shared library. The attack.c file contains a constructor function that executes a command when loaded.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (cgo plugin system)
No auth needed
Prerequisites: Ability to load a malicious shared library into the target Go program
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by AdriVillaB · poc
https://github.com/AdriVillaB/CVE-2018-6574

This PoC demonstrates CVE-2018-6574, a Go 'go get' RCE vulnerability where malicious packages could execute arbitrary commands via cflags during compilation. The exploit uses a shared library with a constructor function to execute a command when linked.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (go get command)
No auth needed
Prerequisites: Victim must run 'go get' on a malicious package · Attacker must host a malicious Go package with crafted cflags
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by nthuong95 · poc
https://github.com/nthuong95/CVE-2018-6574

This PoC demonstrates a dynamic library injection vulnerability (CVE-2018-6574) by using a malicious constructor in a shared object (attack.so) loaded via Go's cgo. The exploit executes arbitrary code when the library is loaded.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using Go's cgo with untrusted shared libraries
No auth needed
Prerequisites: Ability to inject a malicious shared library into the build process
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by No1zy · poc
https://github.com/No1zy/CVE-2018-6574-PoC

This PoC demonstrates a shared library exploit using a constructor function to execute arbitrary commands. The main.go file loads the shared library and triggers the exploit via a function call.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Unspecified (likely a Linux-based system with /usr/local/bin/score)
No auth needed
Prerequisites: Ability to compile and load a shared library on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by sdosis · poc
https://github.com/sdosis/cve-2018-6574

The repository contains a C-based exploit (attack.c) that leverages a constructor attribute to execute arbitrary commands via system(). The Go file (attack.go) appears to be a benign example demonstrating CGo interoperability, unrelated to the exploit.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Unspecified (likely a Linux-based system with /usr/local/bin/score)
No auth needed
Prerequisites: Compilation of the C code into a shared library · Execution context where the library is loaded
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by kev-ho · poc
https://github.com/kev-ho/cve-2018-6574-payload

This PoC demonstrates a dynamic library injection via a Go CGO plugin to execute arbitrary code. The `attack.c` file contains a constructor function that runs a command upon library load, while `main.go` loads the malicious plugin.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems using Go CGO with untrusted plugins
No auth needed
Prerequisites: Ability to inject a malicious shared library into the target's plugin path
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by drset · poc
https://github.com/drset/golang

This PoC demonstrates a Go-based exploit for CVE-2018-6574, leveraging a malicious shared library (attack.so) injected via cgo to execute arbitrary commands during program initialization. The attack.c file uses a constructor attribute to trigger the payload automatically.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using cgo with vulnerable plugin loading
No auth needed
Prerequisites: Ability to compile and link malicious shared library · Target application must load the malicious plugin
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by asavior2 · poc
https://github.com/asavior2/CVE-2018-6574

This PoC exploits CVE-2018-6574, a vulnerability in Go's `go get` command that allows arbitrary code execution via malicious plugins. The attack uses a shared library (`attack.so`) with a constructor function to execute arbitrary commands.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go (go get command)
No auth needed
Prerequisites: Victim must run `go get` on a malicious repository
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by InfoSecJack · poc
https://github.com/InfoSecJack/CVE-2018-6574

The repository contains a minimal Go program that prints a string, with no functional exploit code for CVE-2018-6574. The README lacks details, and the code does not demonstrate any vulnerability exploitation.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by french560 · poc
https://github.com/french560/ptl6574

The repository contains a proof-of-concept exploit for CVE-2018-6574, leveraging a constructor-based code execution in C and a Go wrapper. The exploit demonstrates arbitrary command execution via a malicious constructor function.

Classification
Working Poc 80%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Unknown (likely a specific software vulnerable to CVE-2018-6574)
No auth needed
Prerequisites: Compilation environment with GCC and Go · Target system with the vulnerable software
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by chaosura · poc
https://github.com/chaosura/CVE-2018-6574

This repository contains a minimal Go program that appears to be a placeholder or stub for CVE-2018-6574. It does not demonstrate any exploit functionality but includes a reference to an external shared object (attack.so) which is not provided.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: external shared object (attack.so)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by mekhalleh · poc
https://github.com/mekhalleh/cve-2018-6574

This is a minimal Go program that prints a string via C interop, likely a placeholder or stub. It does not demonstrate any exploit logic for CVE-2018-6574.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: none
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by d4rkshell · poc
https://github.com/d4rkshell/go-get-rce

This PoC demonstrates a Go-based RCE exploit via a malicious shared library (attack.so) loaded through cgo. The attack.c file contains a constructor function that executes arbitrary commands upon library load.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Go applications using cgo with untrusted plugins
No auth needed
Prerequisites: Ability to inject a malicious shared library into the build process
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SUSPICIOUS
by duckzsc2 · poc
https://github.com/duckzsc2/CVE-2018-6574-POC

The repository claims to be a PoC for CVE-2018-6574 but contains a Go program that loads a malicious C shared library via cgo. The C code executes arbitrary commands during initialization, which is unrelated to the stated CVE.

Classification
Suspicious 80%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: unspecified (likely a deception)
No auth needed
Prerequisites: ability to compile and run Go code with cgo
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by veter069 · poc
https://github.com/veter069/go-get-rce

The repository contains a minimal Go program demonstrating a C function call via cgo, but lacks any exploit logic for CVE-2018-6574. The README only references the CVE without details.

Classification
Stub 80%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: Go (cgo)
No auth needed
Prerequisites: Go toolchain · cgo enabled
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by 20matan · poc
https://github.com/20matan/CVE-2018-6574-POC

This repository contains a minimal Go program that prints a string, but it does not demonstrate any exploit for CVE-2018-6574. The code lacks any offensive techniques or vulnerability exploitation logic.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec TROJAN
by redirected · poc
https://github.com/redirected/cve-2018-6574

The repository claims to be a PoC for CVE-2018-6574 but contains a malicious constructor in the C code that executes an unrelated command. The Go code is a benign example and unrelated to the stated vulnerability.

Classification
Trojan 90%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: unspecified
No auth needed
Prerequisites: compilation and execution of the C code
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by ahmetmanga · poc
https://github.com/ahmetmanga/cve-2018-6574

The repository contains a C-based exploit leveraging a constructor attribute to execute arbitrary code via a shared object (attack.so) and a Go program that loads this object. The exploit demonstrates code execution by calling an external binary.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Systems vulnerable to CVE-2018-6574 (likely a Linux-based environment with specific configurations)
No auth needed
Prerequisites: Ability to compile and load a shared object on the target system · Presence of the vulnerable binary or configuration
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by ahmetmanga · poc
https://github.com/ahmetmanga/go-get-rce

This repository contains a minimal Go program that demonstrates a potential RCE vulnerability (CVE-2018-6574) by loading a malicious plugin via cgo. However, the actual exploit payload (plugin.so) is missing, making it a stub rather than a working PoC.

Classification
Stub 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Theoretical
Target: Go (versions affected by CVE-2018-6574)
No auth needed
Prerequisites: Ability to compile and execute Go code · Presence of a malicious plugin.so file
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by acole76 · poc
https://github.com/acole76/cve-2018-6574

This repository contains a proof-of-concept exploit for CVE-2018-6574, leveraging a constructor function in C to execute arbitrary commands via the `system` call. The Go file demonstrates integration with the malicious C code, though it does not directly exploit the vulnerability.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Unknown (CVE-2018-6574 is not a valid CVE, likely a placeholder or fictional vulnerability)
No auth needed
Prerequisites: Compilation of the C code into a shared library · Execution environment where the shared library can be loaded
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1304
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:0878
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2019/dsa-4380
Exploit, Third Party Advisory x_refsource_misc
https://github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574
Issue Tracking, Third Party Advisory x_refsource_confirm
https://github.com/golang/go/issues/23672

Scores

CVSS v3 7.8
EPSS 0.0777
EPSS Percentile 93.9%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-94
Status published
Products (11)
debian/debian_linux 9.0
golang/go 1.9
golang/go 1.9.1
golang/go 1.9.2
golang/go 1.9.3
golang/go 1.10 beta1 (3 CPE variants)
golang/go < 1.8.6
redhat/enterprise_linux_server 7.0
redhat/enterprise_linux_server_aus 7.6
redhat/enterprise_linux_server_eus 7.6
... and 1 more
Published Feb 07, 2018
Tracked Since Feb 18, 2026