Skip to content

fix: bump Go to 1.26.10, terraform to 1.16.7, alpine to 3.24.3 (CVE-2026-111943) - #31301

Merged
zenithwolf1000 merged 2 commits into
mainfrom
chore/bump-terraform-1.16.7-alpine-3.24.3
Oct 26, 2026
Merged

zenithwolf1000 merged 2 commits into
mainfrom
chore/bump-terraform-1.16.7-alpine-3.24.3

Conversation

@sreya

@sreya sreya commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Mitigates CVE-2026-111943 (compromised eMudhra intermediate CAs).

  • Go 1.26.9 to 1.26.10 (go.mod, mise.toml, mise.lock). Go 1.26.10 no longer trusts certificates issued through the compromised intermediates.
  • Bundled Terraform 1.16.6 to 1.16.7 (install.go, install.sh, scripts/Dockerfile.base, mise.toml, mise.lock, flake.nix, airgap docs, testdata/generation.sha1). 1.16.7 is built with Go 1.26.10. Checksums come from the GPG-verified terraform_1.16.7_SHA256SUMS. maxTerraformVersion stays at 1.16.9.
  • Base image alpine:3.24.2 to alpine:3.24.3. 3.24.2 ships ca-certificates-bundle-20260909-r0; 3.24.3 ships 20261020-r0.

Verification:

  • Rebuilt scripts/Dockerfile.base for linux/amd64 and linux/arm64. Both contain ca-certificates-bundle-20261020-r0 and Terraform v1.16.7.
  • go test ./provisioner/terraform/... passes with Terraform 1.16.7.
  • scripts/check_go_versions.sh passes.
  • Local git hooks were skipped at the author's request because the dogfood host was overloaded. CI is the gate.

Backports to release/2.34 through release/2.38 follow as separate PRs. Older Terraform minor lines did not get the Go 1.26.10 rebuild (1.15.9 is built with Go 1.25.10, 1.14.9 with Go 1.25.8), so release/2.35 also moves to 1.16.7.

Decision log
  • The request named Go 1.26.1. Main and every release branch were already on 1.26.9, so @sreya confirmed the target is 1.26.10.
  • release/2.34 stays on the Alpine 3.23 line (alpine:3.23.7, which also ships ca-certificates-bundle-20261020-r0) instead of jumping to 3.24.
  • release/2.35 had drifted: install.go pinned 1.14.5 (max 1.14.9) while the image and mise.toml used 1.15.5. Its backport sets both to 1.16.7 and raises max to 1.16.9.

Generated by Coder Agents on behalf of @sreya.

sreya added 2 commits October 26, 2026 19:58
Bump the bundled Terraform binary from 1.16.6 to 1.16.7 across
install.go, install.sh, Dockerfile.base, mise.toml, mise.lock,
flake.nix, and the airgap docs example. Checksums come from the
GPG-verified terraform_1.16.7_SHA256SUMS. Regenerate the testdata
fixture fingerprint.

Bump the base image from alpine 3.24.2 to 3.24.3 so it ships
ca-certificates-bundle 20261020-r0 (3.24.2 ships 20260909-r0).
Go 1.26.10 no longer trusts certificates issued through the compromised eMudhra intermediate CAs.
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

@nickvigilante nickvigilante left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a codeowner of the airgap docs page, which is fine. If you want me to review the rest, just let me know.

cjfit pushed a commit that referenced this pull request Oct 26, 2026
Backport of #31301 to `release/2.35` for CVE-2026-111943 (compromised
eMudhra intermediate CAs).

- Go 1.26.9 to 1.26.10.
- Terraform: `install.go` 1.14.5 (max 1.14.9) and image/mise 1.15.5 go
to 1.16.7; max raised to 1.16.9. No 1.14.x or 1.15.x release carries the
Go 1.26.10 rebuild (1.15.9 uses Go 1.25.10, 1.14.9 uses Go 1.25.8).
- Base image `alpine:3.24.1` to `alpine:3.24.3`, which ships
`ca-certificates-bundle-20261020-r0`.

Verified: rebuilt `scripts/Dockerfile.base` on this branch (confirmed
`ca-certificates-bundle-20261020-r0` and Terraform v1.16.7) and `go test
./provisioner/terraform/` passes. Local git hooks were skipped at the
author's request; CI is the gate.


Also cherry-picks #30922, which renews the SMTP test certificate that
expired on 2026-10-18 (`TestSMTP` fails on every release branch without
it).

> Generated by Coder Agents on behalf of @sreya.

---------

Co-authored-by: Michael Suchacz <[email protected]>
zenithwolf1000 pushed a commit that referenced this pull request Oct 26, 2026
Backport of #31301 to `release/2.36` for CVE-2026-111943 (compromised
eMudhra intermediate CAs).

- Go 1.26.9 to 1.26.10.
- Terraform 1.16.6 to 1.16.7.
- Base image `alpine:3.24.1` to `alpine:3.24.3`, which ships
`ca-certificates-bundle-20261020-r0`.

Verified: rebuilt `scripts/Dockerfile.base` on this branch (confirmed
`ca-certificates-bundle-20261020-r0` and Terraform v1.16.7) and `go test
./provisioner/terraform/` passes. Local git hooks were skipped at the
author's request; CI is the gate.


Also cherry-picks #30922, which renews the SMTP test certificate that
expired on 2026-10-18 (`TestSMTP` fails on every release branch without
it).

> Generated by Coder Agents on behalf of @sreya.

---------

Co-authored-by: Michael Suchacz <[email protected]>
Co-authored-by: Cedric Fitzgerald <[email protected]>
zenithwolf1000 pushed a commit that referenced this pull request Oct 26, 2026
Backport of #31301 to `release/2.37` for CVE-2026-111943 (compromised
eMudhra intermediate CAs).

- Go 1.26.9 to 1.26.10.
- Terraform 1.16.6 to 1.16.7.
- Base image `alpine:3.24.1` to `alpine:3.24.3`, which ships
`ca-certificates-bundle-20261020-r0`.

Verified: rebuilt `scripts/Dockerfile.base` on this branch (confirmed
`ca-certificates-bundle-20261020-r0` and Terraform v1.16.7) and `go test
./provisioner/terraform/` passes. Local git hooks were skipped at the
author's request; CI is the gate.



> Generated by Coder Agents on behalf of @sreya.
@zenithwolf1000
zenithwolf1000 merged commit 688c4a3 into main Oct 26, 2026
58 of 59 checks passed
@zenithwolf1000
zenithwolf1000 deleted the chore/bump-terraform-1.16.7-alpine-3.24.3 branch October 26, 2026 23:47
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants