Repository navigation
fix: update Go to 1.26.11 for vulnerability checks - #508
Conversation
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]>
There was a problem hiding this comment.
🟢 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
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent 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 |
- 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]>
Summary
net/http, reported by the failed govulncheck job on fix: upgrade documentdb_core before documentdb #507.Validation
govulncheck ./...with Go 1.26.11 passes across all six modules with zero reachable vulnerabilities. Existing non-reachable advisory findings remain reported.go build -mod=readonly ./...andgo vet -mod=readonly ./...pass across all six modules.git diff --checkpasses.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.