chore: bump go-git to 5.19.2 and go-billy to 5.9.0 - #533
Merged
Merged
Conversation
johnstcn
approved these changes
Oct 2, 2026
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The title, description, and vulnerability claims do not match the actual rebased diff.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Updates go-git to its security-focused v5.19.2 patch and aligns transitive Go dependencies.
Changes:
- Upgrades go-git from v5.19.1 to v5.19.2.
- Updates related
golang.org/xdependencies and checksums. - No go-billy or test-file changes are present.
| File | Description |
|---|---|
go.mod |
Updates dependency versions. |
go.sum |
Refreshes module checksums. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| github.com/gliderlabs/ssh v0.3.8 | ||
| github.com/go-git/go-billy/v5 v5.9.0 | ||
| github.com/go-git/go-git/v5 v5.19.1 | ||
| github.com/go-git/go-git/v5 v5.19.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Bumps go-git 5.16.5 to 5.19.2 and go-billy 5.6.2 to 5.9.0. govulncheck: 75 reachable to 53, fixing 22, including transitive x/crypto.
This is the most relevant set for envbuilder, which clones user-supplied repositories and submodules with go-git. Fixed advisories include worktree symlink following, malicious ref names writing outside
.git, crafted repos modifying submodule.gitdirs, credential leaks on cross-host redirects, and go-billy path traversal.Other changes:
osfs.WithChrootOS()is deprecated in go-billy 5.9 (staticcheck SA1019 fails lint). Switched toosfs.WithBoundOS()ingit/git_test.goandintegration/integration_test.go. Production code usesosfs.New("/")and is unaffected.Part of a set of independent dependency PRs. All touch
go.mod/go.sum, so rebase withgo mod tidyafter the first one merges.Generated by Coder Agents on behalf of @stirby.