ADVISORIES

Vulnerability

CVE-2023-39320

The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules downloaded using the "go" command from the module proxy, as well as modules downloaded directly using VCS software.

11 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • ALPINE-CVE-2023-39320

    The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules…

    CVE-2023-39320 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2023-39320
    CVE-2023-39320 Alpine Updated 18 November 2026
  • CGA-62jj-582g-fq2f
    CVE-2023-39320 ChainguardWolfi Updated 5 November 2026
  • CGA-mx5g-34rv-crg9
    CVE-2023-39320 ChainguardWolfi Updated 5 November 2026
  • GO-2023-2042

    Arbitrary code execution via go.mod toolchain directive in cmd/go

    CVE-2023-39320 Go Updated 4 February 2026
  • SUSE-SU-2023:3701-1

    Security update for go1.21

    CVE-2023-39318CVE-2023-39319CVE-2023-39320CVE-2023-39321 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:4469-1

    Security update for go1.21-openssl

    Known exploited CVE-2023-39318CVE-2023-39319CVE-2023-39320CVE-2023-39321 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2023-39320

    The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules…

    Important CVE-2023-39320 SUSE Updated 1 November 2026
  • UBUNTU-CVE-2023-39320

    The go.mod toolchain directive, introduced in Go 1.21, can be leveraged to execute scripts and binaries relative to the root of the module when the "go" command was executed within the module. This applies to modules…

    CVE-2023-39320 Ubuntu Updated 16 July 2025
  • openSUSE-SU-2023:0360-1

    Security update for go1.21

    Known exploited CVE-2023-39318CVE-2023-39319CVE-2023-39320CVE-2023-39321 SUSE Updated 4 February 2026
  • openSUSE-SU-2024:13217-1

    go1.21-1.21.1-1.1 on GA media

    CVE-2023-39318CVE-2023-39319CVE-2023-39320CVE-2023-39321 openSUSE Updated 4 February 2026

References