Skip to main content
CVE-2026-71556VulnerabilityPublished Updated

Golang github go git go git: Prior to 5.19.2 and 6.0.0-alpha.5, worktree operations (including checkout, status, and

Affects golang-github-go-git-go-gitSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.1 High.

Data as of 19 Nov 2026, 10:10 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10golang-github-go-git-go-git-v6pkg:deb/ubuntu/golang-github-go-git-go-git-v6?arch=source&distro=stonkingOther threatsAffected
  • 6.0.0~alpha.4-1 – 6.0.0~alpha.5-2
4 affected builds
Fixed in–
Ubuntu Pro 26.04 LTSgolang-github-go-git-go-gitpkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • =5.14.0-1
  • =5.16.2-1
  • =5.16.2-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 24.04 LTSgolang-github-go-git-go-gitpkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 5.4.2-3build1 – 5.4.2-4ubuntu0.24.04.3+esm3
9 affected builds
Fixed in–
Ubuntu Pro 22.04 LTSgolang-github-go-git-go-gitpkg:deb/ubuntu/golang-github-go-git-go-git?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =5.4.2-3
  • =5.4.2-3ubuntu0.1~esm1
  • =5.4.2-3ubuntu0.1~esm2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to go-git versions 5.19.2 or later, or 6.0.0-alpha.5 or later, where this issue is fixed. No other mitigation is indicated.

Description

A vulnerability in the go-git library prior to versions 5.19.2 and 6.0.0-alpha.5 allows worktree operations to resolve symbolic links outside the intended working directory. This can cause the library to read from or write to files outside the repository when processing maliciously crafted symlinks.

References

Community reviews

Loading reviews…