Skip to content

fix(deps): bump hardened builder Go to 1.26.9 + golang.org/x/net to v0.60.0 on 1.4.x (CVE-2026-78667, CVE-2026-97031, CVE-2026-78669) - #11

Merged
tomhasura merged 2 commits into
1.4.xfrom
fix/1.4.x-go-1.26.9-xnet-0.60.0
Oct 16, 2026
Merged

tomhasura merged 2 commits into
1.4.xfrom
fix/1.4.x-go-1.26.9-xnet-0.60.0

Conversation

@dliub

@dliub dliub commented Oct 14, 2026

Copy link
Copy Markdown

Summary

Approved by @tomhasura (2026-10-14). Hardens the self-hosted oauth image built from Dockerfile-alpine on the 1.4.x line by raising the builder Go toolchain and bumping golang.org/x/net.

Changes

  • Dockerfile-alpine: builder base FROM golang:1.26.8-bookworm@sha256:a688600c…175d → FROM golang:1.26.9-bookworm@sha256:d9c68c2c51161e12fd77e4c6320687c9cd86e1af1e3ad6e6cd63ff970641453c (digest-pinned; same tag/digest as the 2.3.x pin in fix(2.3.x): bump hardened builder Go to 1.26.9 + golang.org/x/net to v0.60.0 (CVE-2026-78667/78669/97031) #10). ENV GOTOOLCHAIN=local is retained — with the builder pinned to 1.26.9 the toolchain is correct and the go/toolchain lines in go.mod stay ≤ 1.26.9.
  • go.mod / go.sum: golang.org/x/net replace target v0.57.0 → v0.60.0, followed by go mod tidy (no vendor directory on this line). The effective compiled version of golang.org/x/net is now v0.60.0.

CVEs fixed

  • CVE-2026-78667 — Go toolchain; fixed by building with Go ≥ 1.26.9.
  • CVE-2026-97031 — Go toolchain; fixed by building with Go ≥ 1.26.9.
  • CVE-2026-78669 — golang.org/x/net; fixed in v0.60.0.

Validation

Builder-stage build of Dockerfile-alpine, then go version -m on the produced binary:

$ docker build --target builder -f Dockerfile-alpine -t hydra-14-builder-validate .
… BUILD_EXIT: 0

$ docker run --rm --entrypoint sh hydra-14-builder-validate \
    -c 'go version -m /build/hydra'
/build/hydra: go1.26.9
	dep	golang.org/x/net	v0.58.0
	=>	golang.org/x/net	v0.60.0	h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU=
  • Builder compiles with go1.26.9 (confirmed in-stage under GOTOOLCHAIN=local).
  • golang.org/x/net resolves to v0.60.0 via the replace directive.

Does not touch any VEX files or anything related to CVE-2026-33504 / CVE-2026-32286 (handled in #8/#9).

…v0.60.0

Bump the Dockerfile-alpine builder base image from golang:1.26.8-bookworm
to the digest-pinned golang:1.26.9-bookworm, and move the golang.org/x/net
replace target from v0.57.0 to v0.60.0 (with go mod tidy). GOTOOLCHAIN=local
is retained; the builder now compiles with Go 1.26.9.

Addresses CVE-2026-78667, CVE-2026-97031 (Go toolchain) and
CVE-2026-78669 (golang.org/x/net, fixed in v0.60.0).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dliub dliub changed the title fix(1.4.x): bump hardened builder Go to 1.26.9 + golang.org/x/net to v0.60.0 (CVE-2026-78667, CVE-2026-97031, CVE-2026-78669) fix(deps): bump hardened builder Go to 1.26.9 + golang.org/x/net to v0.60.0 on 1.4.x (CVE-2026-78667, CVE-2026-97031, CVE-2026-78669) Oct 14, 2026
@tomhasura
tomhasura marked this pull request as ready for review October 16, 2026 01:53
@tomhasura
tomhasura merged commit 1d19578 into 1.4.x Oct 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants