Skip to content

fix(security): go 1.26.10, golang.org/x/crypto v0.58.0 - #13

Merged
shenzhaoyan merged 3 commits into
mainfrom
aikido-fix/aikido-security-APPSEC-925-update-packages-165523396-avtx
Nov 2, 2026
Merged

shenzhaoyan merged 3 commits into
mainfrom
aikido-fix/aikido-security-APPSEC-925-update-packages-165523396-avtx

Conversation

@aikido-autofix

@aikido-autofix aikido-autofix Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Raises the Go toolchain to 1.26.10 and moves the golang.org/x modules forward; go.mod / go.sum are exactly what go mod tidy produces.

  • go 1.26.0 -> 1.26.10. The workflow reads its toolchain from go-version-file: go.mod, so the directive is the Go CI builds and tests with. 1.26.10 makes certificate verification reject the known compromised eMudhra intermediate CA keys; it also carries the 1.26.9 net/http HTTP/2 fixes (GO-2026-6603, -6610, -6611, -6612, -6617).
  • golang.org/x/crypto v0.57.0 -> v0.58.0, the latest. It lifts golang.org/x/net in the module graph from v0.58.0 to v0.60.0, which clears the same five HTTP/2 advisories there.
  • Moved along by MVS: golang.org/x/sync v0.24.0, golang.org/x/sys v0.49.0, golang.org/x/text v0.43.0.

golang.org/x/net is not in go.mod: cachex imports no x/net package, so go mod tidy drops an explicit v0.62.0 requirement and x/net resolves to v0.60.0 through x/crypto. That leaves GO-2026-6860 and GO-2026-6866 (x/net/html, fixed in v0.62.0) in the module graph; they are not compiled into this module, and govulncheck does not report them. They clear once x/crypto (or another dependency) requires x/net v0.62.0+.

Also not fixable by a version bump: GO-2026-5932 on x/crypto v0.58.0. It is the "openpgp is unmaintained" notice and has no fixed version (introduced: 0, no fix event). This module reaches x/crypto through gorm.io/driver/sqlserver -> go-mssqldb -> ntlm -> x/crypto/md4, not openpgp.

Verified with go1.26.10: go mod tidy leaves no diff; go mod verify, go build -mod=readonly ./..., go vet ./... and go test -short -p=1 -count=1 ./... pass; govulncheck reports nothing; an OSV pass over the full go list -m all graph returns only the three advisories above.

🤖 Generated with Claude Code

@aikido-autofix aikido-autofix Bot added the aikido Label created by Aikido AutoFix label Nov 2, 2026
@shenzhaoyan
shenzhaoyan marked this pull request as ready for review November 2, 2026 03:39
Copilot AI balanced review requested due to automatic review settings November 2, 2026 03:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The Go toolchain requirement update has no active review issues.

No open issues 🎉

What changed in this PR

Raises the Go toolchain requirement for theplant/cachex to address the certificate-verification vulnerability described in the PR.

Changes:

  • Updates the root go.mod directive from Go 1.26.0 to 1.26.10.
File Description
go.mod Raises the minimum required Go version to 1.26.10.

Review effort: Balanced

x/net v0.58.0 was in the module graph (via x/crypto) with seven advisories:
GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612 and GO-2026-6617
(HTTP/2, fixed in v0.60.0), and GO-2026-6860 and GO-2026-6866 (html, fixed
in v0.62.0).

x/crypto v0.58.0 on its own only lifts x/net to v0.60.0, so x/net v0.62.0 is
required explicitly. cachex imports no x/net package, so `go mod tidy` drops
that line and x/net falls back to v0.60.0 — keep it when tidying.

Moved along by MVS: x/sync v0.24.0, x/sys v0.49.0, x/text v0.43.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shenzhaoyan shenzhaoyan changed the title [Aikido] Fix security issue in go via minor version upgrade from 1.26.0 to 1.26.10 fix(security): go 1.26.10, golang.org/x/net v0.62.0, x/crypto v0.58.0 Nov 2, 2026
cachex imports no x/net package, so tidy removes the v0.62.0 line. x/net
now resolves to v0.60.0 through x/crypto v0.58.0, which still clears the
five HTTP/2 advisories; GO-2026-6860 and GO-2026-6866 (x/net/html, fixed in
v0.62.0) stay in the module graph but are not compiled into this module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shenzhaoyan shenzhaoyan changed the title fix(security): go 1.26.10, golang.org/x/net v0.62.0, x/crypto v0.58.0 fix(security): go 1.26.10, golang.org/x/crypto v0.58.0 Nov 2, 2026
@shenzhaoyan
shenzhaoyan merged commit 96fbbf6 into main Nov 2, 2026
1 check passed
@shenzhaoyan
shenzhaoyan deleted the aikido-fix/aikido-security-APPSEC-925-update-packages-165523396-avtx branch November 2, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aikido Label created by Aikido AutoFix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants