{"cve":"CVE-2018-7187","nvd":{"published":"2018-02-16T17:29:00.403","modified":"2026-06-17T02:02:45.977","status":"Modified","description":"The \"go get\" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for \"://\" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-78"],"references":["https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc","https://github.com/golang/go/issues/23867","https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html","https://security.gentoo.org/glsa/201804-12","https://www.debian.org/security/2019/dsa-4379"],"products":["debian:debian_linux","golang:go"],"source":"nvd","synced_at":"2026-10-19T20:48:34.567387330+00:00"},"epss":{"cve":"CVE-2018-7187","score":0.63027,"percentile":0.992,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GO-2022-0203","url":"https://osv.dev/vulnerability/GO-2022-0203","summary":"Remote command execution via \"go get\" command with \"-insecure\" option in cmd/go","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"toolchain","purl":"pkg:golang/toolchain","ranges":["<1.9.5",">=1.10.0-0 <1.10.1"],"fixed":["1.9.5","1.10.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}