CVE-2026-56865
Go 취약성 분석 및 완화

개요

CVE-2026-56865 is a cryptographic signature verification bypass vulnerability in the Go toolchain's module proxy (cmd/go) and the golang.org/x/mod/sumdb/tlog package. A malicious GOPROXY can forge up to two sumdb (GOSUMDB) transparency log tiles, allowing attacker-controlled module content to be persisted to a developer's local Go module cache without detection. Affected versions include cmd/go before 1.25.13, 1.26.0–1.26.6, and 1.27.0-0–1.27.0-rc.3, as well as golang.org/x/mod/sumdb/tlog before 0.40.0. It carries a CVSS v3.1 base score of 8.4 (High) (Feedly, Go Advisory).

기술적 세부 사항

The root cause is improper verification of cryptographic signatures (CWE-347): the Go toolchain failed to correctly verify sumdb tiles against their parent tiles in the transparency log, allowing a malicious GOPROXY to forge up to two tiles and serve them as legitimate. An attacker controlling a GOPROXY endpoint can craft forged tile responses that pass the incomplete verification checks, causing the go command to accept and cache malicious module content as if it were verified by GOSUMDB. The attack vector is local (the developer's build environment must be configured to use the malicious proxy), requires no privileges, and no user interaction. Fixes were applied in Go CLs 814960 and 815020, which enforce correct parent-tile verification for all tiles (Go Issue, Go Advisory).

영향

A successful attack allows an adversary controlling a GOPROXY to inject malicious code into a developer's local Go module cache during routine dependency management operations (e.g., go mod tidy, go get). Because the forged tiles bypass GOSUMDB transparency log verification, the malicious module content cannot be detected by standard integrity checks, meaning developers and CI/CD pipelines may unknowingly build and ship applications containing attacker-controlled code. This creates high confidentiality, integrity, and availability risk across any software supply chain relying on the compromised Go modules (Feedly, Go Advisory).

악용 가능성

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Feedly). The EPSS score is approximately 0.123%, reflecting low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an attacker to control or compromise a GOPROXY server that a target developer or build system is configured to use, limiting the attack surface to supply chain scenarios (Go Advisory, OSV).

착취 단계

  1. Set up a malicious GOPROXY: The attacker deploys a rogue Go module proxy server and positions it as the GOPROXY for a target developer or CI/CD environment (e.g., via network interception, DNS poisoning, or social engineering to change GOPROXY environment variable).
  2. Identify a target module: The attacker selects a Go module that the victim project depends on and prepares a malicious version with backdoored or weaponized code.
  3. Forge sumdb tiles: Exploiting the incomplete tile verification logic, the attacker crafts up to two forged sumdb transparency log tiles that appear valid to the vulnerable Go toolchain, bypassing the GOSUMDB integrity check.
  4. Serve malicious module content: When the victim runs go mod tidy, go get, or a similar command, the rogue proxy serves the malicious module alongside the forged tiles; the Go toolchain accepts and caches the content without detecting the forgery.
  5. Achieve code execution: The malicious module is incorporated into the victim's build, resulting in attacker-controlled code being compiled into and shipped with the target application (Go Issue, Go Advisory).

타협의 징후

  • Network: Unexpected or unauthorized GOPROXY endpoints in environment variables (GOPROXY) or Go configuration; outbound connections to unfamiliar proxy servers during go mod operations.
  • File System: Presence of unexpected or modified entries in the local Go module cache ($GOPATH/pkg/mod/cache); go.sum or go.work.sum files containing hashes that do not match known-good values from the official sum database.
  • Logs: Build or CI/CD logs showing module downloads from non-standard or unexpected proxy URLs; errors or anomalies in sumdb tile verification during go mod commands.
  • Process: Unusual behavior or network activity from applications built with recently fetched Go modules; unexpected changes in compiled binary behavior after dependency updates.

To check for compromise, run: rm -r go.sum go.work.sum vendor/ && go mod tidy and verify that all module hashes resolve correctly against the official GOSUMDB (Feedly, Go Advisory).

완화 및 해결 방법

Update the Go toolchain to a patched version: cmd/go 1.25.13 or later, 1.26.6 or later, or 1.27.0-rc.3 or later; update golang.org/x/mod to version 0.40.0 or later. To check for and remediate potential compromise, remove cached module data and re-verify dependencies: rm -r go.sum go.work.sum vendor/ && go mod tidy. Additionally, ensure GOPROXY and GONOSUMCHECK environment variables are set to trusted values, and avoid using untrusted or third-party proxy servers (Go Advisory, golang-announce).

커뮤니티 반응

The Go team disclosed the vulnerability via the golang-announce mailing list and published a detailed advisory on the Go vulnerability database. SUSE issued multiple security updates (SUSE-SU-2026:3640-1, SUSE-SU-2026:3799-1, SUSE-SU-2026:3815-1, SUSE-SU-2026:3830-1) addressing the issue in their Go packages. OpenSUSE and Yocto Project security lists also published advisories. Tenable and Qualys added detection plugins for the vulnerability. The issue was also discussed on the oss-security mailing list (golang-announce, SUSE Advisory, oss-sec).

추가 자료

리눅스 배포판 수정 현황

주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.

Debian

영향을 받은 사람들

bookworm

golang-1.19

영향을 받은 사람들

sid

golang-1.27: 1.27~rc3-1

수정됨

trixie

golang-1.24

영향을 받은 사람들

Ubuntu

알 수 없음

bionic (esm-apps)

golang-1.8

알 수 없음

bionic (esm-infra)

golang-1.10

알 수 없음

devel

golang-1.23

알 수 없음

focal (esm-apps)

golang-1.16

알 수 없음

focal (esm-infra)

golang-1.13

알 수 없음

jammy

golang-1.13

알 수 없음

jammy (esm-apps)

golang-1.13

알 수 없음

noble

golang-1.21

알 수 없음

RHEL / CentOS

영향을 받은 사람들

RHEL 8

영향 없음

근원이 보고서는 AI를 사용하여 생성되었습니다.

관련 Go 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 익스플로잇

수정 사항이 있습니다.

게시된 날짜

CVE-2026-56865HIGH8.4
  • Go logoGo
  • kyverno-1.18
아니요Aug 13, 2026
CVE-2026-56864HIGH7.5
  • Go logoGo
  • grafana-image-renderer-5.10
아니요Aug 13, 2026
CVE-2026-56862HIGH7.5
  • Go logoGo
  • golang-src
아니요Aug 13, 2026
CVE-2026-56859HIGH7.5
  • Go logoGo
  • crossplane-provider-aws-kinesis-fips
아니요Aug 13, 2026
CVE-2026-56860MEDIUM5.9
  • Go logoGo
  • coder-2.29
아니요Aug 13, 2026

무료 취약성 평가

클라우드 보안 태세를 벤치마킹합니다

9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.

평가 요청

추가 Wiz 리소스

맞춤형 데모 받기

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭최고정보책임자(CISO)
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자