Skip to content

fix: upgrade Go to 1.26.5 to resolve stdlib CVEs in gh-aw-mcpg container - #48453

Merged
pelikhan merged 3 commits into
mainfrom
copilot/container-image-scan-fix-vulnerabilities-again
Jul 28, 2026
Merged

fix: upgrade Go to 1.26.5 to resolve stdlib CVEs in gh-aw-mcpg container#48453
pelikhan merged 3 commits into
mainfrom
copilot/container-image-scan-fix-vulnerabilities-again

Conversation

Copilot AI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The ghcr.io/github/gh-aw-mcpg container built on Go 1.26.3 had 1 Critical and 13 High Go stdlib CVEs. Go 1.26.5 patches all of them.

Changes

  • go.mod — bump go 1.26.3go 1.26.5; all CI workflows use go-version-file: go.mod so the next image build automatically picks up the patched stdlib
  • .changeset/patch-upgrade-go-1-26-5.md — patch changeset for the version bump
  • .github/workflows/smoke-copilot-auto.lock.yml — auto-regenerated by make recompile

Copilot AI and others added 2 commits July 27, 2026 21:43
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix critical and high vulnerabilities in container image fix: upgrade Go to 1.26.5 to resolve stdlib CVEs in gh-aw-mcpg container Jul 27, 2026
Copilot AI requested a review from pelikhan July 27, 2026 21:51
@github-actions

Copy link
Copy Markdown
Contributor

🤖 PR Triage

Field Value
Category bug (security)
Risk 🟢 low
Score 74/100 (impact:40 urgency:22 quality:12)
Action fast_track

CVE fix: upgrades Go to 1.26.5 resolving 1 Critical + 13 High stdlib CVEs in the gh-aw-mcpg container. Tiny change (6 adds, 2 dels, 3 files). Security urgency warrants fast-track once undrafted.

Generated by 🔧 PR Triage Agent · sonnet46 · 63.9 AIC · ⌖ 5.94 AIC · ⊞ 5.7K ·

@pelikhan
pelikhan marked this pull request as ready for review July 28, 2026 01:32
Copilot AI review requested due to automatic review settings July 28, 2026 01:33
@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Design Decision Gate 🏗️ completed the design decision gate check.

No ADR enforcement needed: PR #48453 does not have the 'implementation' label and has 0 new lines of code in business logic directories (threshold: 100).

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Test Quality Sentinel completed test quality analysis.

No test files were added or modified in this PR. This PR upgrades Go to 1.26.5 for CVE fixes in a container image; it contains only dependency and configuration changes. Test Quality Sentinel skipped.

@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

PR Code Quality Reviewer completed the code quality review.

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.

Pull request overview

Updates the gh-aw Go toolchain to 1.26.5, but does not remediate the separately built gh-aw-mcpg image.

Changes:

  • Bumps the Go directive to 1.26.5.
  • Adds a patch changeset.
  • Refreshes one generated workflow lock file.
Show a summary per file
File Description
go.mod Updates the gh-aw Go toolchain.
.changeset/patch-upgrade-go-1-26-5.md Documents the version bump.
.github/workflows/smoke-copilot-auto.lock.yml Removes obsolete generated model-cost metadata.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread go.mod
module github.com/github/gh-aw

go 1.26.3
go 1.26.5
"gh-aw": patch
---

Upgrade Go toolchain to 1.26.5 to resolve Critical and High Go stdlib vulnerabilities (CVEs) found in the `ghcr.io/github/gh-aw-mcpg` container image scanned at go1.26.3.
@github-actions github-actions Bot mentioned this pull request Jul 28, 2026

@github-actions github-actions Bot 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.

LGTM — clean security patch.

Go toolchain bump from 1.26.3 → 1.26.5 correctly addresses the reported stdlib CVEs. The lock file recompile dropping GH_AW_INFO_MODEL_COSTS is a legitimate auto-generated change. No logic errors, no correctness risks, no missing error handling in the diff.

🔎 Code quality review by PR Code Quality Reviewer · sonnet46 · 18.4 AIC · ⌖ 4.5 AIC · ⊞ 5.7K
Comment /review to run again

@github-actions github-actions Bot 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.

Review: Go 1.26.5 Security Upgrade

Clean, minimal CVE fix — go.mod bumped from 1.26.3 → 1.26.5, changeset added, lock file auto-recompiled. No issues found.

🧵 Reviewed using Impeccable skills by Impeccable Skills Reviewer · sonnet46 · 14.3 AIC · ⌖ 5.17 AIC · ⊞ 5K

@github-actions github-actions Bot 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.

Skills-Based Review 🧠

Applied /diagnosing-bugs — this is a surgical security patch with no actionable issues.

📋 Key Themes & Highlights

Positive Highlights

  • ✅ Root cause addressed at the right level: Go version bump in go.mod propagates automatically to all CI via go-version-file: go.mod — no hardcoded versions to chase down
  • ✅ Changeset entry correctly scoped as patch with clear CVE context for release notes
  • ✅ Auto-regenerated lock file (smoke-copilot-auto.lock.yml) is included, keeping compiled outputs in sync
  • ✅ PR description enumerates severity (1 Critical + 13 High CVEs) and links to the tracking issue

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · sonnet46 · 21.2 AIC · ⌖ 4.54 AIC · ⊞ 6.7K
Comment /matt to run again

@pelikhan
pelikhan merged commit 0037823 into main Jul 28, 2026
78 of 90 checks passed
@pelikhan
pelikhan deleted the copilot/container-image-scan-fix-vulnerabilities-again branch July 28, 2026 01:45
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[container-image-scan] Container findings for ghcr.io/github/gh-aw-mcpg

3 participants