Vulnerability Database · Go · Package report

github.com/go-git/go-git/v5: vulnerability history, versions and safety

github.com/go-git/go-git/v5 is a package in the Go ecosystem. Vulert records 18 vulnerabilities for it across 120 releases, from Dec 2023 to Aug 2026. Each vulnerability names the versions it affects, the fixed version to move to, and a workaround where no fix has been published.

i
18 vulnerabilities recorded C1 H2 M6 L2 U7
i
0 with no fix published

Every vulnerability has a patched version to move to.

i
15 in the last 12 months

Most recent disclosure 18 Aug 2026.

See the disclosure history →
i
0 malicious-package vulnerabilities

No published version shipped hostile code.

Vulert verdict on github.com/go-git/go-git/v5 v5.19.3 i

Updated on 23 Oct 2026

Action needed: v5.19.3 has 16 known vulnerabilities, but every one of them has a fix. Upgrade to the version listed below and you are clear.

Package health score 68/100
  • Security Unfixed issues
  • Maintenance Sustainable
  • Popularity Key ecosystem project
  • Community Active

What to do: Upgrade to the version that resolves each vulnerability below. Fix it, then keep watch: this version is affected today, and the next one may be too — Vulert alerts you when a new vulnerability lands. Monitor it with Vulert →

  • Current release v5.19.3 — affected i
  • Vulnerabilities on record 18 over 2 years · 15 in the last year i
  • Latest disclosure 18 Aug 2026 i
  • Highest CVSS 9.8 i
  • With no published fix 0 i
  • Stars 7,804 i
  • OpenSSF scorecard 7/10 i
  • Last release this month i
  • Licence Apache-2.0 i

Version list, release dates, licence and dependants published by the Go module proxy, refreshed 22 Oct 2026. Licence information is not legal advice.

Concerned about your application's security?

Vulert continues monitoring your dependencies and alerts you when new vulnerabilities are disclosed. No installation and no source-code access required.

01 Versions

Which versions are affected

Every version Vulert tracks for github.com/go-git/go-git/v5, newest first, with the vulnerabilities recorded against each one. A version showing none has no vulnerability in the Vulert database — open it for the full picture on that release.

i
Version Released Vulert vulnerabilities Licence Fix published Details
v5.19.3 04 Oct 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.3-0.20260808231216-d031897f15ec 08 Aug 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.3-0.20260730100233-b46ec2084fad 30 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.3-0.20260729193846-4253959a0749 29 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.2 29 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.2-0.20260724223052-008a78f2dd86 24 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.0.0-20260717154650-4a0e66d555de 17 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260717154650-4a0e66d555de 17 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.2-0.20260717154650-4a0e66d555de 17 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.2-0.20260717153523-3b306ef83bd0 17 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.2-0.20260717153521-f3d0cc150b39 17 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260716133843-979cfe9c561d 16 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.2-0.20260716133843-979cfe9c561d 16 Jul 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.2-0.20260526111251-2a76234afbd5 26 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1 18 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260518194122-3fba897bd9e8 18 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260512142629-170b88181f38 12 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260512142612-7b6d994467f0 12 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260512141531-f0709b32f8fb 12 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260512140700-776d00f11d33 12 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260512094628-3235bb68ef57 12 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260512074408-095314667321 12 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260511110639-38a5370a4fe4 11 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260511092837-75b0941e0d96 11 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260511092823-78df66ed1ef3 11 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260510185835-b1fab6cb0d33 10 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509112421-680cc5d89429 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509112311-830944adca6f 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509112039-2c329f41086f 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509111032-1270f176ce80 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509110601-1cc58091b97f 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509105429-47d7396d710f 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509105238-65c326c698aa 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509105143-6fe40fd02215 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509104443-e6ff3fc01985 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509103645-6c231e8432ef 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509102532-3795ab718abf 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509101755-28b8bf30ead7 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.1-0.20260509101205-d83871ed0314 09 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.19.0 06 May 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.18.1-0.20260420130857-e5bbc088b774 20 Apr 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.18.0 16 Apr 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.17.2 31 Mar 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.17.2-0.20260331061752-ebb2d7da7f5d 31 Mar 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.0.0-20260328142655-5e23dfd02db9 28 Mar 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.17.1 28 Mar 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.17.1-0.20260328142424-6b38a326816b 28 Mar 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.17.1-0.20260328131622-cd757fcb856a 28 Mar 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.17.1-0.20260328131419-3ec0d70cb687 28 Mar 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.17.1-0.20260328070058-adad18daabdd 28 Mar 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.17.0 25 Feb 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.5 09 Feb 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.5-0.20260206173429-42bdf1f9044e 06 Feb 2026 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.5-0.20251215194124-25f162475439 15 Dec 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.4 23 Nov 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.4-0.20251123132402-fb6806f2711e 23 Nov 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.3 17 Sep 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.3-0.20250917102249-ad9a3a542e84 17 Sep 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.3-0.20250610123634-8ac015a75d81 10 Jun 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.3-0.20250610091807-407739f257ea 10 Jun 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.2 06 Jun 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.1 04 Jun 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250603224102-89fc507cd903 03 Jun 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250524135610-4f95dc6c9936 24 May 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.0.1-0.20250414170546-93ed29d8f65c 14 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250414170546-93ed29d8f65c 14 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.15.1-0.20250414170123-6d4a5c612322 14 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.16.0 14 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250413172450-00907d9ee306 13 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.15.1-0.20250413152954-763ce2e08aa1 13 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250412204354-ff77e2b3eda3 12 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.14.1-0.20250410122641-6f444d359654 10 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.15.0 10 Apr 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250329062950-4e67bbed91c0 29 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142340-349118563620 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142340-712412cea634 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142339-eb7244e8475c 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142338-3ae4490db21b 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142338-bc6762922311 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142337-924cecade285 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142336-950fe33a8d32 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142336-a1abfc6b7d2f 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142335-c1b84ecba4d6 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142334-cdbdd99a7309 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142334-f3401120e3fc 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142333-69f456373e09 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142331-2f97952a4d4b 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142329-defe9a6d4c5c 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142325-8af8f6b36816 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313142259-4b06f536fd4c 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313141747-b405ee4883eb 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313133138-80af6fb74493 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313132849-7ba9e27a46a5 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313115625-fe25e677036d 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250313092822-505f9cba3184 13 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250306131248-f7eb53c2ef7e 06 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250306065839-cc0ed3acb41b 06 Mar 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250227134858-2c6d60eaa18c 27 Feb 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.14.0 27 Feb 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250227131216-29bd7d37c370 27 Feb 2025 H2 M5 L2 U7 Apache-2.0 Yes Details →
v5.12.1-0.20250211133935-6b34aace4af0 11 Feb 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250205145420-db681b472344 05 Feb 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250203223846-fff9798701d5 03 Feb 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250203160203-1eae64754bee 03 Feb 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250203135850-bc4c2e8d4fc2 03 Feb 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250203091950-06c99e45b5a1 03 Feb 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250202222923-d2618ad4d791 02 Feb 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250202222827-64fad046e323 02 Feb 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250130072642-560fd2f311db 30 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250130072508-f6c9b5b0ca6f 30 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250130002336-fd6eb40c4c92 30 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250129225401-628828b784dd 29 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250129225400-5166bc226c7d 29 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250129225322-fe73768c8bd6 29 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250129225219-ebd4a8d09396 29 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250129224323-5ae4760011da 29 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250127232313-139212e9dffd 27 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250127135432-a11a8bc12187 27 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250124085322-3a9fe5a392ee 24 Jan 2025 H2 M5 L2 U7 — Yes Details →
v5.12.1-0.20250122231125-3eead1829af2 22 Jan 2025 H2 M5 L2 U7 — Yes Details →

The newest 120 of 748 versions Vulert tracks. Severity counts are the vulnerabilities recorded against that exact release.

02 Disclosure history

How often vulnerabilities are recorded

  • 2023 1
  • 2024 1
  • 2025 1
  • 2026 15

Counted by the year Vulert recorded each vulnerability — the same date the table below shows as disclosed. 15 of the 18 were recorded in the last 12 months.

Vulnerability wrong, a fix missing, or a package we should cover? Report it and we will fix the record. Report Vulnerability Provide Feedback

Updated: 23/Oct/2026 · Vulnerabilities in our DB: 524315

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →

Questions

About github.com/go-git/go-git/v5

Is github.com/go-git/go-git/v5 safe to use?

Vulert records 18 vulnerabilities for github.com/go-git/go-git/v5 in Go: 1 critical, 2 high, 6 medium and 2 low, plus 7 not yet rated. Every one of them has a published fix, so the practical answer is to run a supported release and keep it patched.

What is github.com/go-git/go-git/v5's Vulert package health score?

Vulert scores github.com/go-git/go-git/v5 68/100, which reads as usable, but worth attention. The score weighs the vulnerability record (40), maintenance and release cadence (25), adoption from dependents and stars (20) and community signals such as the OpenSSF scorecard and forks (15).

Is the latest version of github.com/go-git/go-git/v5 affected?

Yes. v5.19.3, the version you would install today, has 16 known vulnerabilities, and every one of them has a published fix. Upgrade to the version listed for each.

Which version of github.com/go-git/go-git/v5 should I use?

v5.19.3 is the version Vulert recommends for the affected releases. The version table above lists every release with the vulnerabilities recorded against it, so you can confirm the range you actually run.

How many vulnerabilities does github.com/go-git/go-git/v5 have?

18 vulnerabilities are recorded for github.com/go-git/go-git/v5 in the Go ecosystem: 1 critical, 2 high, 6 medium and 2 low, plus 7 not yet rated. The ledger on this page lists the same counts next to the date of the most recent disclosure.

How often are new github.com/go-git/go-git/v5 vulnerabilities disclosed?

15 vulnerabilities were recorded for github.com/go-git/go-git/v5 in the last 12 months, and the oldest entry in this database dates to 27 Dec 2023. Recency matters more than a lifetime total: it shows how actively new issues are being disclosed for the package you are considering.

Which versions of github.com/go-git/go-git/v5 are affected?

Each vulnerability on this page lists the affected version range and the fixed version to move to. Open the vulnerability for the version you actually run — fixes are specific to a release line, not to the package as a whole.

How do I monitor github.com/go-git/go-git/v5 for upcoming vulnerabilities?

Upload the manifest or SBOM for your application at vulert.com/scanner and Vulert keeps checking the github.com/go-git/go-git/v5 version you actually run against new disclosures, then alerts you when one affects it. There is no installation and no source-code access required.