● Go module family
github.com/go-git/go-git/v5
Github.com/go-git/go-git/v5 has 14 security advisories.
As of , github.com/go-git/go-git/v5 has 14 security advisories.
Your version, and the version to upgrade to
| Package | If you run | Upgrade to | Advisories |
|---|---|---|---|
| github.com/go-git/go-git | All versions | No fixed version listed | 6 advisories |
| github.com/go-git/go-git/v4 | All versions | No fixed version listed | 5 advisories |
| github.com/go-git/go-git/v5 | Before 5.19.2 | 5.19.2 | 14 advisories |
| github.com/go-git/go-git/v6 | Before 6.0.0-alpha.5 | 6.0.0-alpha.5 | 7 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-71557GHSA-qgq7-7hm3-q39j, GO-2026-6214 | go-git: Malicious reference names may modify files outside the reference storageModerate severity. github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 | github.com/go-git/go-git/v5: Before 5.19.2 / github.com/go-git/go-git/v6: Before 6.0.0-alpha.5 | 5.19.2, 6.0.0-alpha.5 | |
| CVE-2026-71556GHSA-hc8v-wwc9-vgxm, GO-2026-6213 | go-git: Worktree operations may follow symlinksHigh severity. github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 | github.com/go-git/go-git/v5: Before 5.19.2 / github.com/go-git/go-git/v6: Before 6.0.0-alpha.5 | 5.19.2, 6.0.0-alpha.5 | |
| GHSA-w5pp-99ch-qj29GO-2026-5693 | go-git: Malformed Git object data may cause panics or resource exhaustionModerate severity. github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 | github.com/go-git/go-git/v5: Before 5.19.1 / github.com/go-git/go-git/v6: Before 6.0.0-alpha.4 | 5.19.1, 6.0.0-alpha.4 | |
| CVE-2026-45571GHSA-crhj-59gh-8x96, GO-2026-5336 | go-git: Crafted repositories may modify main and submodule .git directoriesModerate severity. github.com/go-git/go-git, github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 | github.com/go-git/go-git: Up to and including 44.7.0 / github.com/go-git/go-git/v5: Before 5.19.1 / github.com/go-git/go-git/v6: Before 6.0.0-alpha.4 | 5.19.1, 6.0.0-alpha.4 | |
| CVE-2026-45570GHSA-m7cr-m3pv-hgrp, GO-2026-5496 | go-git: Improper single-quote escaping in go-git SSH transportLow severity. github.com/go-git/go-git, github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 | github.com/go-git/go-git: All versions / github.com/go-git/go-git/v5: Before 5.19.1 / github.com/go-git/go-git/v6: Before 6.0.0-alpha.4 | 5.19.1, 6.0.0-alpha.4 | |
| CVE-2026-45022GHSA-389r-gv7p-r3rp, GO-2026-5074 | go-git's improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream GitHigh severity. github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 | github.com/go-git/go-git/v5: Before 5.19.0 / github.com/go-git/go-git/v6: From 6.0.0-alpha.1 before 6.0.0-alpha.3 | 5.19.0, 6.0.0-alpha.3 | |
| CVE-2026-41506GHSA-3xc5-wrhm-f963, GO-2026-5105 | go-git: Credential leak via cross-host redirect in smart HTTP transportModerate severity. github.com/go-git/go-git/v5, github.com/go-git/go-git/v6 | github.com/go-git/go-git/v5: Before 5.18.0 / github.com/go-git/go-git/v6: Before 6.0.0-alpha.2 | 5.18.0, 6.0.0-alpha.2 | |
| CVE-2026-34165GHSA-jhf3-xxhw-2wpp, GO-2026-4910 | go-git: Maliciously crafted idx file can cause asymmetric memory consumptionModerate severity. github.com/go-git/go-git, github.com/go-git/go-git/v4, github.com/go-git/go-git/v5 | github.com/go-git/go-git: All versions / github.com/go-git/go-git/v4: All versions / github.com/go-git/go-git/v5: From 5.0.0 before 5.17.1 | 5.17.1 | |
| CVE-2026-33762GHSA-gm2x-2g9h-ccm8, GO-2026-4909 | go-git missing validation decoding Index v4 files leads to panicLow severity. github.com/go-git/go-git, github.com/go-git/go-git/v4, github.com/go-git/go-git/v5 | github.com/go-git/go-git: All versions / github.com/go-git/go-git/v4: All versions / github.com/go-git/go-git/v5: Before 5.17.1 | 5.17.1 | |
| CVE-2026-25934GHSA-37cx-329c-33x3, GO-2026-4473 | go-git improperly verifies data integrity values for .idx and .pack filesModerate severity. github.com/go-git/go-git, github.com/go-git/go-git/v4, github.com/go-git/go-git/v5 | github.com/go-git/go-git: All versions / github.com/go-git/go-git/v4: All versions / github.com/go-git/go-git/v5: Before 5.16.5 | 5.16.5 | |
| CVE-2025-21614GHSA-r9px-m959-cxf4, GO-2025-3367 | go-git clients vulnerable to DoS via maliciously crafted Git server repliesHigh severity. github.com/go-git/go-git, github.com/go-git/go-git/v4, github.com/go-git/go-git/v5 | github.com/go-git/go-git: From 4.0.0 up to and including 4.13.1 / github.com/go-git/go-git/v4: From 4.0.0 (no end named) / github.com/go-git/go-git/v5: Before 5.13.0 | 5.13.0 | |
| CVE-2025-21613GHSA-v725-9546-7q7m, GO-2025-3368 | go-git has an Argument Injection via the URL fieldCritical severity. github.com/go-git/go-git/v4, github.com/go-git/go-git/v5 | github.com/go-git/go-git/v4: From 4.0.0 (no end named) / github.com/go-git/go-git/v5: Before 5.13.0 | 5.13.0 | |
| CVE-2023-49569GHSA-449p-3h89-pw88, GO-2024-2456 | Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clientsCritical severity. github.com/go-git/go-git/v5 | github.com/go-git/go-git/v5: From 5.0.0 before 5.11.0 | 5.11.0 | |
| CVE-2023-49568GHSA-mw99-9chc-xw7r, GO-2024-2466 | Maliciously crafted Git server replies can cause DoS on go-git clientsHigh severity. github.com/go-git/go-git/v5 | github.com/go-git/go-git/v5: Before 5.11.0 | 5.11.0 |
Packages on this page
In these 4 packages, half or more of the advisories of each smaller package are also advisories of a larger one, so one page covers them. The table has rows for each package apart, because a release of one is not a release of another.
- github.com/go-git/go-git
- github.com/go-git/go-git/v4
- github.com/go-git/go-git/v5
- github.com/go-git/go-git/v6
Other Go modules
- github.com/ellanetworks/core14 advisories
- github.com/getkin/kin-openapi14 advisories
- github.com/juev/nebula-mesh14 advisories
- github.com/mattermost/mattermost-plugin-confluence14 advisories