Skip to content

Update module github.com/go-git/go-git/v5 to v5.16.5 [SECURITY]#1141

Merged
pulumi-renovate[bot] merged 1 commit intomasterfrom
renovate/security
Feb 10, 2026
Merged

Update module github.com/go-git/go-git/v5 to v5.16.5 [SECURITY]#1141
pulumi-renovate[bot] merged 1 commit intomasterfrom
renovate/security

Conversation

@pulumi-renovate
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/go-git/go-git/v5 indirect patch v5.16.0 -> v5.16.5
github.com/go-git/go-git/v5 indirect minor v5.13.1 -> v5.16.5

GitHub Vulnerability Alerts

CVE-2026-25934

Impact

A vulnerability was discovered in go-git whereby data integrity values for .pack and .idx files were not properly verified. This resulted in go-git potentially consuming corrupted files, which would likely result in unexpected errors such as object not found.

For context, clients fetch packfiles from upstream Git servers. Those files contain a checksum of their contents, so that clients can perform integrity checks before consuming it. The pack indexes (.idx) are generated locally by go-git, or the git cli, when new .pack files are received and processed. The integrity checks for both files were not being verified correctly.

Note that the lack of verification of the packfile checksum has no impact on the trust relationship between the client and server, which is enforced based on the protocol being used (e.g. TLS in the case of https:// or known hosts for ssh://). In other words, the packfile checksum verification does not provide any security benefits when connecting to a malicious or compromised Git server.

Patches

Users should upgrade to v5.16.5, or the latest v6 pseudo-version, in order to mitigate this vulnerability.

Workarounds

In case updating to a fixed version of go-git is not possible, users can run git fsck from the git cli to check for data corruption on a given repository.

Credit

Thanks @​N0zoM1z0 for finding and reporting this issue privately to the go-git project.


Release Notes

go-git/go-git (github.com/go-git/go-git/v5)

v5.16.5

Compare Source

What's Changed

Full Changelog: go-git/go-git@v5.16.4...v5.16.5

v5.16.4

Compare Source

What's Changed

Full Changelog: go-git/go-git@v5.16.3...v5.16.4

v5.16.3

Compare Source

What's Changed

Full Changelog: go-git/go-git@v5.16.2...v5.16.3

v5.16.2

Compare Source

What's Changed

Full Changelog: go-git/go-git@v5.16.1...v5.16.2

v5.16.1

Compare Source

What's Changed
New Contributors

Full Changelog: go-git/go-git@v5.16.0...v5.16.1


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - Monday through Friday ( * * * * 1-5 ) (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@pulumi-renovate pulumi-renovate bot added dependencies Pull requests that update a dependency file impact/no-changelog-required This issue doesn't require a CHANGELOG update labels Feb 10, 2026
@pulumi-renovate pulumi-renovate bot enabled auto-merge (squash) February 10, 2026 03:35
@pulumi-renovate
Copy link
Contributor Author

ℹ Artifact update notice

File name: examples/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 8 additional dependencies were updated

Details:

Package Change
github.com/Microsoft/go-winio v0.6.1 -> v0.6.2
github.com/ProtonMail/go-crypto v1.1.3 -> v1.1.6
github.com/cyphar/filepath-securejoin v0.3.6 -> v0.4.1
github.com/go-git/go-billy/v5 v5.6.1 -> v5.6.2
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da -> v0.0.0-20241129210726-2c02b8208cf8
github.com/pjbgf/sha1cd v0.3.0 -> v0.3.2
github.com/rogpeppe/go-internal v1.13.1 -> v1.14.1
github.com/skeema/knownhosts v1.3.0 -> v1.3.1
File name: examples/random-go/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 8 additional dependencies were updated

Details:

Package Change
github.com/Microsoft/go-winio v0.6.1 -> v0.6.2
github.com/ProtonMail/go-crypto v1.1.3 -> v1.1.6
github.com/cyphar/filepath-securejoin v0.3.6 -> v0.4.1
github.com/go-git/go-billy/v5 v5.6.1 -> v5.6.2
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da -> v0.0.0-20241129210726-2c02b8208cf8
github.com/pjbgf/sha1cd v0.3.0 -> v0.3.2
github.com/rogpeppe/go-internal v1.13.1 -> v1.14.1
github.com/skeema/knownhosts v1.3.0 -> v1.3.1
File name: examples/stdin-go/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 8 additional dependencies were updated

Details:

Package Change
github.com/Microsoft/go-winio v0.6.1 -> v0.6.2
github.com/ProtonMail/go-crypto v1.1.3 -> v1.1.6
github.com/cyphar/filepath-securejoin v0.3.6 -> v0.4.1
github.com/go-git/go-billy/v5 v5.6.1 -> v5.6.2
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da -> v0.0.0-20241129210726-2c02b8208cf8
github.com/pjbgf/sha1cd v0.3.0 -> v0.3.2
github.com/rogpeppe/go-internal v1.13.1 -> v1.14.1
github.com/skeema/knownhosts v1.3.0 -> v1.3.1

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.78%. Comparing base (6b42b63) to head (9c6fc43).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1141   +/-   ##
=======================================
  Coverage   28.78%   28.78%           
=======================================
  Files          25       25           
  Lines         879      879           
=======================================
  Hits          253      253           
  Misses        577      577           
  Partials       49       49           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pulumi-renovate pulumi-renovate bot merged commit e362a07 into master Feb 10, 2026
21 checks passed
@pulumi-renovate pulumi-renovate bot deleted the renovate/security branch February 10, 2026 03:52
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 impact/no-changelog-required This issue doesn't require a CHANGELOG update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants