Skip to content

security: bump go-git/v5 to v5.19.2 - #363

Merged
stevenolen merged 1 commit into
mainfrom
bump-go-git-v5-19-2
Aug 12, 2026
Merged

security: bump go-git/v5 to v5.19.2#363
stevenolen merged 1 commit into
mainfrom
bump-go-git-v5-19-2

Conversation

@stevenolen

Copy link
Copy Markdown
Contributor

Summary

Bumps github.com/go-git/go-git/v5 from v5.19.1 to v5.19.2 to remediate a high-severity directory traversal vulnerability flagged by dependency scanning. go-git is an indirect dependency (pulled in via the Pulumi automation SDK).

Details

  • Remediates CVE-2026-71557 / CVE-2026-71556 (path traversal / symlink following in go-git's filesystem storage engine), fixed upstream in v5.19.2.
  • Applied in both the lib and cmd modules (cmd consumes lib via a local replace, so its lockfiles were re-tidied to match).
  • v5.19.2 raises the minimum versions of several golang.org/x/* modules (crypto, net, sys, term, text, tools, mod); go mod tidy applied those.

Verification

  • go build ./... clean; format, lint, and lib/cmd tests pass via pre-commit hooks.

Remediates directory traversal CVE-2026-71557 / CVE-2026-71556 in
go-git's filesystem storage engine. go-git is an indirect dependency
(pulled in via the Pulumi automation SDK). v5.19.2 also raises the
minimum versions of several golang.org/x/* modules, applied by go mod
tidy.
@stevenolen
stevenolen marked this pull request as ready for review August 10, 2026 14:15
@stevenolen
stevenolen requested a review from a team as a code owner August 10, 2026 14:15
@stevenolen
stevenolen enabled auto-merge August 10, 2026 14:15
@claude

claude Bot commented Aug 10, 2026

Copy link
Copy Markdown

Claude finished @stevenolen's task in 37s —— View job


PR Review

  • Read review guidelines
  • Examine diff for correctness
  • Post review feedback

LGTM. The diff is exactly what go mod tidy produces after bumping go-git/v5 to v5.19.2 in both lib and cmd modules. A few observations:

What was checked:

  • Both lib/go.mod and cmd/go.mod correctly update go-git/v5 from v5.19.1v5.19.2 (indirect)
  • The golang.org/x/* version bumps (crypto, mod, net, sys, term, text, tools) are consistent across both modules and match each other — this is the expected cascading effect from go mod tidy after updating the transitive dependency
  • golang.org/x/sync remains at v0.21.0 in both modules, which is correct — go-git v5.19.2 doesn't require a higher minimum for it
  • go.sum hash replacements are symmetric (old hash removed, new hash added) for all updated modules in both modules

No concerns — this is a clean, minimal security patch with no source code changes, no new dependencies, and no unexpected version movements.

@stevenolen
stevenolen added this pull request to the merge queue Aug 12, 2026
Merged via the queue into main with commit d3872a0 Aug 12, 2026
7 checks passed
@stevenolen
stevenolen deleted the bump-go-git-v5-19-2 branch August 12, 2026 16:49
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.

2 participants