Skip to content

chore(deps): bump Go to 1.26.6 to fix govulncheck stdlib findings - #5639

Closed
feitianbubu wants to merge 1 commit into
Wei-Shaw:mainfrom
feitianbubu:chore/bump-go-1.26.6
Closed

chore(deps): bump Go to 1.26.6 to fix govulncheck stdlib findings#5639
feitianbubu wants to merge 1 commit into
Wei-Shaw:mainfrom
feitianbubu:chore/bump-go-1.26.6

Conversation

@feitianbubu

@feitianbubu feitianbubu commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

问题

CI 的 Security Scan(backend-security)目前在所有 PR 上失败:govulncheck 在 go1.26.5 标准库上报出 6 个漏洞,全部标注 Fixed in: …@go1.26.6:

编号
GO-2026-6218 net/url
GO-2026-6090 crypto/tls
GO-2026-6089 net/http
GO-2026-6088 encoding/xml
GO-2026-5972 encoding/asn1
GO-2026-5026 net/http

修改

Go 1.26.5 → 1.26.6,同步更新仓库内全部 8 处版本 pin:

  • backend/go.modgo 指令
  • Dockerfile / deploy/DockerfileGOLANG_IMAGE ARG、backend/Dockerfile 的基础镜像(golang:1.26.6-alpine 已在 Docker Hub 发布,已确认)
  • backend-ci.yml(2 处)、security-scan.ymlrelease.yml 的「Verify Go version」grep

验证

  • govulncheck ./...(CI 同款命令)在 1.26.6 下输出 No vulnerabilities found,退出码 0。
  • go test -tags=unit ./... 全部通过。

注:本 PR 只修 backend-security;frontend-security 的失败(nanoid 审计通告)由 #5638 修复,两个合并后 Security Scan 才会整体转绿。

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.

1 participant