Skip to content

Commit af0b88f

Browse files
ndbroadbentclaude
andcommitted
fix: upgrade Go to 1.26.1 to resolve security vulnerabilities
Upgrades Go from 1.25.7 to 1.26.1 to fix 5 critical vulnerabilities found by govulncheck: - GO-2026-4603: URLs in meta content attribute actions are not escaped in html/template - GO-2026-4602: FileInfo can escape from a Root in os - GO-2026-4601: Incorrect parsing of IPv6 host literals in net/url - GO-2026-4600: Panic in name constraint checking for malformed certificates in crypto/x509 - GO-2026-4599: Incorrect enforcement of email constraints in crypto/x509 All references updated: - Dockerfiles (main, gateway-dev, mock-convox) - go.mod - GitHub Actions workflows (ci.yml, e2e.yml, release.yml) - mise.toml (local development) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b9db955 commit af0b88f

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: "1.25.7"
22+
go-version: "1.26.1"
2323

2424
- name: Install libfido2 dependencies
2525
run: |
@@ -63,7 +63,7 @@ jobs:
6363
- name: Setup Go
6464
uses: actions/setup-go@v5
6565
with:
66-
go-version: "1.25.7"
66+
go-version: "1.26.1"
6767

6868
- name: Cache golangci-lint cache
6969
uses: actions/cache@v4

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
- name: Setup Go
158158
uses: actions/setup-go@v5
159159
with:
160-
go-version: "1.25.7"
160+
go-version: "1.26.1"
161161

162162
- name: Download gateway image
163163
uses: actions/download-artifact@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: Setup Go
7878
uses: actions/setup-go@v5
7979
with:
80-
go-version: "1.25.7"
80+
go-version: "1.26.1"
8181
- name: Build binary
8282
env:
8383
CGO_ENABLED: 0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN bun install --frozen-lockfile
1515
COPY web/ ./
1616
RUN bun run build
1717

18-
FROM golang:1.25.7-alpine AS builder
18+
FROM golang:1.26.1-alpine AS builder
1919

2020
RUN apk add --no-cache git ca-certificates make gcc musl-dev nodejs npm
2121

Dockerfile.gateway-dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25.7-alpine AS builder
1+
FROM golang:1.26.1-alpine AS builder
22

33
RUN apk add --no-cache git ca-certificates make gcc musl-dev
44

Dockerfile.mock-convox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build stage
22
# syntax=docker/dockerfile:1.5
33

4-
FROM golang:1.25.7-alpine AS builder
4+
FROM golang:1.26.1-alpine AS builder
55

66
RUN apk add --no-cache git make
77

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/DocSpring/rack-gateway
22

3-
go 1.25.7
3+
go 1.26.1
44

55
require (
66
github.com/GeertJohan/yubigo v0.0.0-20190917122436-175bc097e60e

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tools]
2-
go = "1.25.5"
2+
go = "1.26.1"
33
node = "22.19.0"
44
bun = "1.3.1"
55

0 commit comments

Comments
 (0)