Vulnerability Database · Go · github.com/go-git/go-git/v5 · Version

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

v5.19.1 is affected by 16 vulnerabilities.

The vulnerabilities that cover this exact version are listed below with the fixed version to move to. The upgrade Vulert recommends: v5.19.3.

Critical 0 High 2 Medium 5 Low 2 Unrated 7

Released 18 May 2026 Licence Apache-2.0 Also known from other sources 4 Newer releases 300 Database updated 23/Oct/2026

Release and licence data published by the Go module proxy. 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 Vulnerabilities affecting this version

github.com/go-git/go-git/v5 v5.19.1 vulnerabilities

16 vulnerabilities cover github.com/go-git/go-git/v5 v5.19.1. Scroll the table for all of them, or open the full list in the database.

Vulnerability Severity Fixed version Disclosed
CVE-2023-49568: Denial of Service Vulnerability in go-git/v5 7.5 high 5.11.0 27 Dec 2023
CVE-2026-71556: go-git Symlink Traversal Vulnerability in Worktree Operations 7.1 high 5.19.2 07 Aug 2026
Denial of Service Vulnerability in go-git: Malformed Git Object Data 6.5 medium 5.19.1 29 May 2026
CVE-2026-71557: go-git Path Traversal Vulnerability Allows Malicious Reference Names to Modify Files 6.3 medium 5.19.2 07 Aug 2026
CVE-2026-45571: go-git Vulnerability in Path Validation Leading to .git Directory Manipulation 5.4 medium 5.19.1 19 May 2026
Credential Leak Vulnerability in go-git Package: Cross-Host Redirect in Smart HTTP Transport 4.7 medium 5.18.0 17 Apr 2026
CVE-2026-25934: go-git Data Integrity Verification Flaw in .idx and .pack Files 4.3 medium 5.16.5 10 Feb 2026
CVE-2026-33762: go-git Index v4 File Validation Flaw Leads to Panic 2.8 low 5.17.1 30 Mar 2026
CVE-2026-45570: go-git Improper Single-Quote Escaping Vulnerability 2.3 low 5.19.1 19 May 2026
CVE-2026-71556: Vulnerability in github.com/go-git/go-git - Symlink Follow in Worktree Operations N/A unrated 5.19.2 18 Aug 2026
CVE-2026-71557: Path Traversal Vulnerability in github.com/go-git/go-git N/A unrated 5.19.2 18 Aug 2026
CVE-2026-45022: Go-git Improper Parsing Vulnerability Leading to Inconsistent Interpretation N/A unrated 5.19.0 24 Jul 2026
CVE-2026-41506: Go-git Credential Leak via Cross-Host Redirect in Smart HTTP Transport N/A unrated 5.18.0 24 Jul 2026
CVE-2026-45571: Vulnerability in Go-git Allows Modification of .git Directories N/A unrated 5.19.1 24 Jul 2026
Critical Vulnerability in Go-git: Malformed Git Object Data Leading to Panics and Resource Exhaustion N/A unrated 5.19.1 24 Jul 2026
CVE-2025-21613: Argument Injection Vulnerability in go-git Package N/A unrated 5.13.0 07 Jan 2025

Looking for another version, or everything Vulert holds for github.com/go-git/go-git/v5?

All versions → Full vulnerability list →

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 v5.19.1

Is github.com/go-git/go-git/v5 v5.19.1 vulnerable?

Yes. 16 vulnerabilities in the Vulert database cover github.com/go-git/go-git/v5 v5.19.1: 0 critical, 2 high, 5 medium and 2 low, plus 7 not yet rated. The upgrade Vulert recommends is v5.19.3, and each entry above names the fixed version to move to.

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

v5.19.3 is the version Vulert recommends for this release line. The version table on the package page lists every release with the vulnerabilities recorded against it.

Is v5.19.1 the latest release of github.com/go-git/go-git/v5?

No. v5.19.1 was published 18 May 2026, and newer releases exist. Newer is not automatically safer — the version table on the package page shows what each release carries.

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.