CVE catalog

CVE-2026-71556

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, worktree operations (including checkout, status, and add) resolve symbolic links inside the wo

[CVE catalog]

Severity
High · CVSS 7.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, worktree operations (including checkout, status, and add) resolve symbolic links inside the working tree without confining resolution to the worktree boundary, so a maliciously crafted repository containing a symlink can cause go-git to read from or write to files outside the intended working directory when the repository is cloned and its worktree operations are used. Versions 5.19.2 and 6.0.0-alpha.5.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-github-go-git-go-gitsid5.19.2-2fixed
Debiangolang-github-go-git-go-gitforky5.19.2-2fixed
Debiangolang-github-go-git-go-gittrixie5.14.0-1vulnerable
Debiangolang-github-go-git-go-gitbookworm5.4.2-3vulnerable
Gogithub.com/go-git/go-git/v5Not reported5.19.2fixed
Gogithub.com/go-git/go-git/v6Not reported6.0.0-alpha.5fixed
Suseamazon-ssm-agentlinux enterprise module for public cloud 15 sp43.3.5226.0-150000.5.40.1fixed
Suseamazon-ssm-agentlinux enterprise module for public cloud 15 sp53.3.5226.0-150000.5.40.1fixed
Suseamazon-ssm-agentlinux enterprise module for public cloud 15 sp63.3.5226.0-150000.5.40.1fixed
Suseamazon-ssm-agentlinux enterprise module for public cloud 15 sp73.3.5226.0-150000.5.40.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-go-git-go-gitsourcesid5.19.2-1not yet assignedNot reported[1143903]
Debiangolang-github-go-git-go-gitsourceforky5.19.2-1not yet assignedNot reported[1143903]
Debiangolang-github-go-git-go-gitsourcetrixie(unfixed)not yet assignedNot reported[1143903]
Debiangolang-github-go-git-go-gitsourcebookworm(unfixed)not yet assignedNot reported[1143903]
Gogithub.com/go-git/go-git/v5goNot reported5.19.2Not reportedNot reportedNot reported
Gogithub.com/go-git/go-git/v6goNot reported6.0.0-alpha.5Not reportedNot reportedNot reported
Suseamazon-ssm-agentrpmlinux enterprise module for public cloud 15 sp43.3.5226.0-150000.5.40.1Not reportedSUSE-SU-2026:4082-1Not reported
Suseamazon-ssm-agentrpmlinux enterprise module for public cloud 15 sp53.3.5226.0-150000.5.40.1Not reportedSUSE-SU-2026:4082-1Not reported
Suseamazon-ssm-agentrpmlinux enterprise module for public cloud 15 sp63.3.5226.0-150000.5.40.1Not reportedSUSE-SU-2026:4082-1Not reported
Suseamazon-ssm-agentrpmlinux enterprise module for public cloud 15 sp73.3.5226.0-150000.5.40.1Not reportedSUSE-SU-2026:4082-1Not reported

[Debian bug #1143903]

Notes

[trixie] golang-github-go-git-go-git: Minor issue [bookworm] golang-github-go-git-go-git: Limited support

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [go-git]Affected

    Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.4.2-3+b7 · amd64 · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

    • 5.4.2-3+b7 · arm64 · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

  • Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.4.2-3 · all · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

    • 5.4.2-3 · all · bookworm

      Affected

      nvd · golang-github-go-git-go-git · debian · bookworm; nvd · golang-github-go-git-go-git · debian · 12

[Debian 13 (Trixie)]

  • [go-git]Affected

    Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.14.0-1+b3 · amd64 · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

    • 5.14.0-1+b3 · arm64 · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

  • Source package: [golang-github-go-git-go-git]

    Details (2)
    • 5.14.0-1 · all · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

    • 5.14.0-1 · all · trixie

      Affected

      nvd · golang-github-go-git-go-git · debian · 13

Observed:

References