fix(security): bump Go to 1.26.10 for CVE-2026-111943 (#604)

Go 1.26.10 and 1.27.3 make crypto/x509 reject chains that pass through
the compromised eMudhra intermediate CAs. Go 1.25 has no backport, so
binaries built from go.mod 1.25.5 would still trust forged certificates
from those intermediates on systems whose trust store has not been
updated. skillshare makes HTTPS requests for upgrade, update checks,
search and registry lookups, so release binaries need the fix.

Move go.mod, mise.toml, the three Docker images and the sandbox docs to
1.26.10. CI and release builds follow go.mod through go-version-file.
This commit is contained in:
Willie
2026-10-22 13:34:41 +08:00
committed by GitHub
parent 02d8dfffa0
commit 13330867ce
10 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
# Build: docker build -f docker/ci/Dockerfile -t skillshare-ci .
# Stage 1: Build Go binary
ARG GO_VERSION=1.25.5
ARG GO_VERSION=1.26.10
FROM golang:${GO_VERSION}-bookworm AS go-builder
WORKDIR /src
COPY go.mod go.sum ./
+1 -1
View File
@@ -2,7 +2,7 @@
# Build: docker build -f docker/production/Dockerfile -t skillshare .
# Stage 1: Build Go binary
ARG GO_VERSION=1.25.5
ARG GO_VERSION=1.26.10
FROM golang:${GO_VERSION}-bookworm AS go-builder
WORKDIR /src
COPY go.mod go.sum ./
+1 -1
View File
@@ -1,7 +1,7 @@
# Build arguments (must be before first FROM for cross-stage visibility)
ARG NODE_VERSION=24
ARG PNPM_VERSION=12.6.0
ARG GO_VERSION=1.25.5
ARG GO_VERSION=1.26.10
# Stage 1: Build frontend assets (for playground UI)
FROM node:${NODE_VERSION}-bookworm-slim AS ui-builder