CVE catalog

CVE-2026-42501

A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass checksum database validation. This vulnerability affects any user using an untrusted module pro

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.23% · Oct 25, 2026

A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass checksum database validation. This vulnerability affects any user using an untrusted module proxy (GOMODPROXY) or checksum database (GOSUMDB). A malicious module proxy can serve altered versions of the Go toolchain. When selecting a different version of the Go toolchain than the currently installed toolchain (due to the GOTOOLCHAIN environment variable, or a go.work or go.mod with a toolchain line), the go command will download and execute a toolchain provided by the module proxy. A malicious module proxy can bypass checksum database validation for this downloaded toolchain. Since this vulnerability affects the security of toolchain downloads, setting GOTOOLCHAIN to a fixed version is not sufficient. You must upgrade your base Go toolchain. The go tool always validates the hash of a toolchain before executing it, so fixed versions will refuse to execute any cached, altered versions of the toolchain. The go tool trusts go.sum files to contain accurate hashes of the current module's dependencies. A malicious proxy exploiting this vulnerability to serve an altered module will have caused an incorrect hash to be recorded in the go.sum. Users who have configured a non-trusted GOPROXY can determine if they have been affected by running "rm go.sum ; go mod tidy ; go mod verify", which will revalidate all dependencies of the current module. The specific flaw in more detail: The go command consults the checksum database to validate downloaded modules, when a module is not listed in the go.sum file. It verifies that the module hash reported by the checksum database matches the hash of the downloaded module. If, however, the checksum database returns a successful response that contains no entry for the module, the go command incorrectly permitted validation to succeed. A module proxy may mirror or proxy the checksum database, in which case the go command will not connect to the checksum database directly. Checksums reported by the checksum database are cryptographically signed, so a malicious proxy cannot alter the reported checksum for a module. However, a proxy which returns an empty checksum response, or a checksum response for an unrelated module, could cause the go command to proceed as if a downloaded module has been validated.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-1.19bookworm1.19.8-2vulnerable
Cpegolang-1.19Not reportedNot reportedvulnerable
CpegoNot reported1.25.10fixed
CpegoNot reported1.26.3fixed
Opensuseopatumbleweed1.16.2-1.1fixed
Ubuntugolang-1.1014.041.10.4-2ubuntu1~14.04.1vulnerable
Ubuntugolang-1.1016.041.10.4-2ubuntu1~16.04.1vulnerable
Ubuntugolang-1.1016.041.10.4-2ubuntu1~16.04.2vulnerable
Ubuntugolang-1.616.041.6-0ubuntu1vulnerable
Ubuntugolang-1.616.041.6-0ubuntu2vulnerable
Ubuntugolang-1.616.041.6-0ubuntu3vulnerable
Ubuntugolang-1.616.041.6-0ubuntu4vulnerable
Ubuntugolang-1.616.041.6-0ubuntu5vulnerable
Ubuntugolang-1.616.041.6.1-0ubuntu1vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.2vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.3vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.4vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.1vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.1+esm1vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.2vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.3vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.4vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.4+esm1vulnerable
Ubuntugolang-1.1018.041.10~rc1-1vulnerable
Ubuntugolang-1.1018.041.10~rc1-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10~rc1-2ubuntu1vulnerable
Ubuntugolang-1.1018.041.10~rc2-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10.1-1ubuntu2vulnerable
Ubuntugolang-1.1018.041.10.4-2ubuntu1~18.04.1vulnerable
Ubuntugolang-1.1018.041.10.4-2ubuntu1~18.04.2vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04.1vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04.1+esm1vulnerable
Ubuntugolang-1.818.041.8.3-2ubuntu1vulnerable
Ubuntugolang-1.818.041.8.3-2ubuntu1.18.04.1vulnerable
Ubuntugolang-1.918.041.9.1-2ubuntu1vulnerable
Ubuntugolang-1.918.041.9.2-1ubuntu1vulnerable
Ubuntugolang-1.918.041.9.2-3ubuntu1vulnerable
Ubuntugolang-1.918.041.9.3-1ubuntu1vulnerable
Ubuntugolang-1.918.041.9.4-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.1-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.3-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.4-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.5-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.6-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.6-2ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.7-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1.1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1.2vulnerable
Ubuntugolang-1.1420.041.14~beta1-1vulnerable
Ubuntugolang-1.1420.041.14~beta1-2vulnerable
Ubuntugolang-1.1420.041.14~rc1-1vulnerable
Ubuntugolang-1.1420.041.14-1vulnerable
Ubuntugolang-1.1420.041.14.1-1vulnerable
Ubuntugolang-1.1420.041.14.2-1vulnerable
Ubuntugolang-1.1420.041.14.2-1ubuntu1vulnerable
Ubuntugolang-1.1420.041.14.3-2ubuntu2~20.04.1vulnerable
Ubuntugolang-1.1420.041.14.3-2ubuntu2~20.04.2vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.1vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.2vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.3vulnerable
Ubuntugolang-1.2020.041.20.3-1ubuntu0.1~20.04vulnerable
Ubuntugolang-1.2020.041.20.3-1ubuntu0.1~20.04.1vulnerable
Ubuntugolang-1.2120.041.21.1-1~ubuntu20.04.1vulnerable
Ubuntugolang-1.2120.041.21.1-1~ubuntu20.04.2vulnerable
Ubuntugolang-1.2120.041.21.1-1~ubuntu20.04.3vulnerable
Ubuntugolang-1.2220.041.22.2-2~20.04.1vulnerable
Ubuntugolang-1.2220.041.22.2-2~20.04.2vulnerable
Ubuntugolang-1.2220.041.22.2-2~20.04.3vulnerable
Ubuntugolang-1.1722.041.17-1ubuntu2vulnerable
Ubuntugolang-1.1722.041.17.3-1ubuntu1vulnerable
Ubuntugolang-1.1722.041.17.3-1ubuntu2vulnerable
Ubuntugolang-1.1722.041.17.13-3ubuntu1vulnerable
Ubuntugolang-1.1722.041.17.13-3ubuntu1.2vulnerable
Ubuntugolang-1.1722.041.17.13-3ubuntu1.3vulnerable
Ubuntugolang-1.1822.041.18~beta1-0ubuntu1vulnerable
Ubuntugolang-1.1822.041.18~beta2-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18~beta2-1ubuntu2vulnerable
Ubuntugolang-1.1822.041.18~rc1-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1.1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1.2vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1.3vulnerable
Ubuntugolang-1.2022.041.20.3-1ubuntu0.1~22.04vulnerable
Ubuntugolang-1.2022.041.20.3-1ubuntu0.1~22.04.1vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.1vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.2vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.3vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.4vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04.1vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04.2vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04.3vulnerable
Ubuntugolang-1.2222.041.22.2-2~22.04.4vulnerable
Ubuntugolang-1.2322.041.23.1-1~22.04vulnerable
Ubuntugolang-1.2322.041.23.1-1~22.04.2vulnerable
Ubuntugolang-1.2322.041.23.1-1~22.04.3vulnerable
Ubuntugolang-1.2422.041.24.4-1ubuntu1~22.04.1vulnerable
Ubuntugolang-1.2422.041.24.4-1ubuntu1~22.04.2vulnerable
Ubuntugolang-1.2422.041.24.13-2~22.04.1vulnerable
Ubuntugolang-1.2422.041.24.13-2~22.04.2vulnerable
Ubuntugolang-1.2522.041.25.14-1~ubuntu0.22.04.1vulnerable
Ubuntugolang-1.2124.041.21.1-1vulnerable
Ubuntugolang-1.2124.041.21.3-1vulnerable
Ubuntugolang-1.2124.041.21.4-1vulnerable
Ubuntugolang-1.2124.041.21.5-1vulnerable
Ubuntugolang-1.2124.041.21.6-1vulnerable
Ubuntugolang-1.2124.041.21.7-1vulnerable
Ubuntugolang-1.2124.041.21.7-2vulnerable
Ubuntugolang-1.2124.041.21.8-1vulnerable
Ubuntugolang-1.2124.041.21.8-1build1vulnerable
Ubuntugolang-1.2124.041.21.9-1vulnerable
Ubuntugolang-1.2124.041.21.9-1ubuntu0.1vulnerable
Ubuntugolang-1.2224.041.22~rc1-2vulnerable
Ubuntugolang-1.2224.041.22.0-1vulnerable
Ubuntugolang-1.2224.041.22.0-2vulnerable
Ubuntugolang-1.2224.041.22.1-1vulnerable
Ubuntugolang-1.2224.041.22.1-1build1vulnerable
Ubuntugolang-1.2224.041.22.2-2vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.1vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.2vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.3vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.4vulnerable
Ubuntugolang-1.2224.041.22.2-2ubuntu0.5vulnerable
Ubuntugolang-1.2324.041.23.1-1~24.04vulnerable
Ubuntugolang-1.2324.041.23.1-1~24.04.1vulnerable
Ubuntugolang-1.2424.041.24.4-1ubuntu1~24.04.1vulnerable
Ubuntugolang-1.2424.041.24.4-1ubuntu1~24.04.2vulnerable
Ubuntugolang-1.2424.041.24.13-2~24.04.1vulnerable
Ubuntugolang-1.2524.041.25.14-1~ubuntu0.24.04.1vulnerable
Ubuntugolang-1.2325.101.23.8-1vulnerable
Ubuntugolang-1.2325.101.23.10-1vulnerable
Ubuntugolang-1.2325.101.23.10-1ubuntu0.2vulnerable
Ubuntugolang-1.2425.101.24.2-1vulnerable
Ubuntugolang-1.2425.101.24.2-2vulnerable
Ubuntugolang-1.2425.101.24.4-1vulnerable
Ubuntugolang-1.2425.101.24.4-1ubuntu1vulnerable
Ubuntugolang-1.2525.101.25.0-0ubuntu1vulnerable
Ubuntugolang-1.2525.101.25.7-2~25.10.1vulnerable
Ubuntugolang-1.2326.041.23.10-1vulnerable
Ubuntugolang-1.2426.041.24.4-1ubuntu1vulnerable
Ubuntugolang-1.2426.041.24.9-1vulnerable
Ubuntugolang-1.2426.041.24.13-2vulnerable
Ubuntugolang-1.2526.041.25.0-0ubuntu1vulnerable
Ubuntugolang-1.2526.041.25.7-2vulnerable
Ubuntugolang-1.2526.041.25.14-1~ubuntu0.26.04.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-1.19sourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpegocpeNot reported1.25.10Not reportedNot reportedNot reported
CpegocpeNot reported1.26.3Not reportedNot reportedNot reported
Opensuseoparpmtumbleweed1.16.2-1.1Not reportedOPENSUSE-SU-2026:10755-1Not reported

Notes

[bookworm] golang-1.19: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [golang-1.19]Affected
    Details (2)
    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

  • [golang-1.19-doc]Affected

    Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

  • [golang-1.19-go]Affected

    Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · amd64 · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

    • 1.19.8-2 · arm64 · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

  • [golang-1.19-src]Affected

    Source package: [golang-1.19]

    Details (2)
    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

    • 1.19.8-2 · all · bookworm

      Affected

      nvd · golang-1.19 · debian · bookworm; nvd · golang-1.19 · debian · 12

[Debian 13 (Trixie)]

  • [golang-1.24]Affected
    Details (2)
    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

  • [golang-1.24-doc]Affected

    Source package: [golang-1.24]

    Details (2)
    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

  • [golang-1.24-go]Affected

    Source package: [golang-1.24]

    Details (2)
    • 1.24.4-1 · amd64 · trixie

      Affected

      nvd · golang-1.24 · debian · 13

    • 1.24.4-1 · arm64 · trixie

      Affected

      nvd · golang-1.24 · debian · 13

  • [golang-1.24-src]Affected

    Source package: [golang-1.24]

    Details (2)
    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

    • 1.24.4-1 · all · trixie

      Affected

      nvd · golang-1.24 · debian · 13

[openSUSE Tumbleweed]

  • Source package: [opa]

    Details (1)
    • 1.20.1-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.16.2-1.1

      Version impact unknown

      nvd · opa · opensuse · tumbleweed

  • Source package: [opa]

    Details (1)
    • 1.20.1-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.16.2-1.1

      Version impact unknown

      nvd · opa · opensuse · tumbleweed

  • Source package: [opa]

    Details (1)
    • 1.20.1-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.16.2-1.1

      Version impact unknown

      nvd · opa · opensuse · tumbleweed

  • [opa]Fixed

    Source package: [opa]

    Details (1)
    • 1.20.1-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.16.2-1.1

      nvd · opa · opensuse · tumbleweed

Observed:

References