KeygraphLabs · CVE MCP

CVE-2017-15041 · mitre

CVE-2017-15041

Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution. Using custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, "go get" can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository's Git checkout has malicious commands in .git/hooks/, they will execute on the system running "go get."

Published 2017-10-05, last changed 2026-06-17.

CVSS
9.8
critical, from NVD
EPSS
7.18%
percentile 94.5%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: toolchain 1.8.4, 1.9.1 (Go) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2017-10-05Published
2022-08-09Package advisory GO-2022-0177
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 7.18%

Affected packages

AdvisoryPackageFixed in
GO-2022-0177toolchain (Go)1.8.4, 1.9.1

Also known as: GO-2022-0177

Credited: Simon Rawet (other)

Related

CVEPublishedCVSSSummary
CVE-2026-970432026-11-118.8Unexpected code execution via escaped quotes in //go:cgo_ldflag in cmd/go and cmd/compile
CVE-2026-970422026-11-118.8Linker flag injection via cgo_import_dynamic and PE DLL names in cmd/cgo, cmd/compile, and cmd/link
CVE-2026-970412026-11-118.8Host linker flag injection via //go:cgo_* directives in cmd/compile and cmd/link
CVE-2026-970402026-11-119.8Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link
CVE-2026-970392026-11-118.3Flag sanitization bypass via "#cgo pkg-config:" directives in cmd/go
CVE-2026-970382026-11-118.8Arbitrary code execution via crafted .syso files and cgo linker input files in cmd/go
CVE-2026-970372026-11-118.8Linker script injection via split -Wl, flags and Darwin or symbol linker flags in cgo in cmd/go
CVE-2026-970362026-11-118.8Arbitrary code execution during build on darwin via "-l to_library" in cgo in cmd/go

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-15041, or call /api/v1/vulnerabilities/CVE-2017-15041. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org