Skip to content

fix: update Go to 1.26.11 for vulnerability checks - #508

Merged
xgerman merged 1 commit into
documentdb:mainfrom
WentingWu666666:developer/wentingwu/fix-govulncheck
Nov 13, 2026
Merged

xgerman merged 1 commit into
documentdb:mainfrom
WentingWu666666:developer/wentingwu/fix-govulncheck

Conversation

@WentingWu666666

Copy link
Copy Markdown
Collaborator

Summary

Validation

  • Linux/amd64 govulncheck ./... with Go 1.26.11 passes across all six modules with zero reachable vulnerabilities. Existing non-reachable advisory findings remain reported.
  • Linux/amd64 go build -mod=readonly ./... and go vet -mod=readonly ./... pass across all six modules.
  • Confirmed the patched Azure Linux and Alpine builder-image tags exist.
  • git diff --check passes.

Self-review

Reviewed the actual failing scan, all module and builder-image consumers, and patch-level compatibility across locally replaced modules. This is an independent fix against main; it does not include changes from #507.

Address GO-2026-6859 in net/http by raising the minimum Go version across all six modules and updating the operator, sidecar injector, and long-haul builder images.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 97b2b1c1-733e-47ce-ad8b-b922156da519
Signed-off-by: Wenting Wu <[email protected]>
@WentingWu666666
WentingWu666666 marked this pull request as ready for review November 12, 2026 18:05
Copilot AI balanced review requested due to automatic review settings November 12, 2026 18:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the Go toolchain update addressing GO-2026-6859.

No open issues 🎉

What changed in this PR

Updates the DocumentDB Kubernetes Operator’s Go toolchain from 1.26.10 to 1.26.11 to address the reported net/http vulnerability GO-2026-6859, without changing application logic or dependency package versions.

Changes:

  • Require Go 1.26.11 across all six modules.
  • Align operator, sidecar injector, and long-haul builder images with the patched release.
  • Update the security changelog and builder-image documentation.
File Description
test/​shared/​go.mod Require Go 1.26.11 for shared test utilities.
test/​longhaul/​go.mod Require Go 1.26.11 for long-haul tests.
test/​longhaul/​Dockerfile Update the Alpine Go builder image.
test/​e2e/​go.mod Require Go 1.26.11 for end-to-end tests.
operator/​src/​go.mod Require Go 1.26.11 for the operator.
operator/​src/​Dockerfile Update the operator’s Azure Linux Go builder image.
operator/​cnpg-plugins/​sidecar-injector/​go.mod Require Go 1.26.11 for the sidecar injector.
operator/​cnpg-plugins/​sidecar-injector/​Dockerfile Update the injector’s Azure Linux Go builder image.
documentdb-kubectl-plugin/​go.mod Require Go 1.26.11 for the kubectl plugin.
docs/​designs/​image-management.md Document the updated operator builder image.
CHANGELOG.md Record the Go security update.

Review effort: Balanced

@documentdb-triage-tool documentdb-triage-tool Bot added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation ecosystem go Pull requests that update go code labels Nov 12, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: dependencies, documentation, ecosystem, go
Project fields suggested: Component dependencies · Priority P0 · Effort L · Status Needs Review
Confidence: 0.95 (deterministic)

Reasoning

component from path globs (dependencies, docs, kubectl-plugin); P0 keyword "security" in body; effort from diff stats (11+10 LOC, 11 files)

If a label is wrong, ping @patty-chow so the rules can be tuned. Issues with component labels are left alone; PR component labels are reconciled from changed paths on every run.

@xgerman
xgerman merged commit 643245d into documentdb:main Nov 13, 2026
73 checks passed
hossain-rayhan added a commit to hossain-rayhan/documentdb-kubernetes-operator that referenced this pull request Nov 16, 2026
- Release date 2026-11-17.
- Add CHANGELOG entries for changes merged after the release PR was
  opened: OTel Collector outbound proxy (documentdb#476), documentdb_core upgraded
  with documentdb (documentdb#507), and stable documentation links and checks
  (documentdb#513, documentdb#514). documentdb#508 already added its own entry; documentdb#509 is internal.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 9f1a71b4-9969-4456-9f65-8d19dd550d8e
Signed-off-by: Rayhan Hossain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation ecosystem go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants