Go
Skip to Main Content
  • Why Go submenu dropdown icon
    • Case Studies

      Common problems companies solve with Go

    • Use Cases

      Stories about how and why companies use Go

    • Security

      How Go can help keep you secure by default

  • Learn
  • Docs submenu dropdown icon
    • Effective Go

      Tips for writing clear, performant, and idiomatic Go code

    • Go User Manual

      A complete introduction to building software with Go

    • Standard library

      Reference documentation for Go's standard library

    • Release Notes

      Learn what's new in each Go release

  • Packages
  • Community submenu dropdown icon
    • Recorded Talks

      Videos from prior events

    • Meetups

      Meet other local Go developers

    • Conferences

      Learn and network with Go developers from around the world

    • Go blog

      The Go project's official blog.

    • Go project

      Get help and stay informed from Go

    • Get connected

Go.
  • Why Go
    Why Go
    • Case Studies
    • Use Cases
    • Security
  • Learn
  • Docs
    Docs
    • Effective Go
    • Go User Manual
    • Standard library
    • Release Notes
  • Packages
  • Community
    Community
    • Recorded Talks
    • Meetups
    • Conferences
    • Go blog
    • Go project
    • Get connected
Alert  Affected by GO-2021-0068 and 18 other vulnerabilities
Alert  GO-2021-0068: Arbitrary code injection via the go command with cgo on Windows in cmd/go
Alert  GO-2022-0177: Remote command execution via "go get" in cmd/go
Alert  GO-2022-0201: Remote command execution via "go get" command with cgo in cmd/go
Alert  GO-2022-0203: Remote command execution via "go get" command with "-insecure" option in cmd/go
Alert  GO-2022-0475: Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
Alert  GO-2022-0476: Arbitrary code execution via the go command with cgo in cmd/go
Alert  GO-2023-1839: Code injection via go command with cgo in cmd/go
Alert  GO-2023-1841: Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go
Alert  GO-2023-1842: Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go
Alert  GO-2023-2095: Arbitrary code execution during build via line directives in cmd/go
Alert  GO-2023-2383: Command 'go get' may unexpectedly fallback to insecure git in cmd/go
Alert  GO-2024-2825: Arbitrary code execution during build on Darwin in cmd/go
Alert  GO-2024-2962: Output of "go env" does not sanitize values in cmd/go
Alert  GO-2025-3828: Unexpected command execution in untrusted VCS repositories in cmd/go
Alert  GO-2026-4339: Arbitrary file write using cgo pkg-config directive in cmd/go