Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

go-git — Vulnerabilities & Security Advisories 15

Browse all 15 CVE security advisories affecting go-git. AI-powered Chinese analysis, POCs, and references for each vulnerability.

Go-git serves as a pure Go implementation of Git, primarily used for version control operations in Go applications. Historically, it has been susceptible to remote code execution vulnerabilities through malicious repository handling, cross-site scripting via crafted web interfaces, and privilege escalation in server deployments. Notable security characteristics include its memory-safe design reducing certain classes of vulnerabilities, though it has experienced critical flaws like path traversal in repository URLs and unsafe object parsing. While no major public incidents have been widely documented, the 7 recorded CVEs highlight ongoing risks in handling untrusted Git data, particularly in automated CI/CD pipelines and code hosting services.

Top products by go-git: go-git go-billy
CVE ID Title CVSS Severity Published
CVE-2026-71557 go-git: Malicious reference names may modify files outside the reference storage — go-git CWE-22 6.3 Medium 2026-08-07
CVE-2026-71556 go-git: Worktree operations may follow symlinks — go-git CWE-59 7.1 High 2026-08-07
CVE-2026-44740 go-billy: Lack of depth and cycle detection in symlink resolution may lead to infinite loops and resource exhaustion — go-billy CWE-674 6.5 Medium 2026-06-01
CVE-2026-44973 Billy: Path traversal vulnerabilities — go-billy CWE-22 8.1 High 2026-05-28
CVE-2026-45570 go-git: Improper single-quote escaping in go-git SSH transport — go-git CWE-116 - - 2026-05-27
CVE-2026-45571 go-git: Crafted repositories may modify main and submodule .git directories — go-git CWE-22 5.4 Medium 2026-05-27
CVE-2026-45022 go-git: Improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git — go-git CWE-180 - - 2026-05-27
CVE-2026-41506 go-git Credential leak via cross-host redirect in smart HTTP transport — go-git CWE-522 4.7 Medium 2026-05-08
CVE-2026-33762 go-git: Missing validation decoding Index v4 files leads to panic — go-git CWE-129 2.8 Low 2026-03-31
CVE-2026-34165 go-git: Maliciously crafted idx file can cause asymmetric memory consumption — go-git CWE-191 5.0 Medium 2026-03-31
CVE-2026-25934 go-git improperly verifies data integrity values for .idx and .pack files — go-git CWE-354 4.3 Medium 2026-02-09
CVE-2025-21614 go-git clients vulnerable to DoS via maliciously crafted Git server replies — go-git CWE-400 7.5 High 2025-01-06
CVE-2025-21613 go-git has an Argument Injection via the URL field — go-git CWE-88 9.1 - 2025-01-06
CVE-2023-49569 Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients — go-git CWE-22 9.8 Critical 2024-01-12
CVE-2023-49568 Maliciously crafted Git server replies can cause DoS on go-git clients — go-git CWE-20 7.5 High 2024-01-12

This page lists every published CVE security advisory associated with go-git. Each entry links to a detailed page with CVSS scoring, CWE classification, affected products and references. AI-generated Chinese analysis is provided for fast triage.