Vulnerability
CVE-2026-71557
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory. Versions 5.19.2 and 6.0.0-alpha.5 fix the issue.
549 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2-2026-3933
Amazon Linux 2 2017.12 - ALAS2-2026-3933: important priority package update for amazon-ssm-agent
-
ALAS2-2026-3963
Amazon Linux 2 2017.12 - ALAS2-2026-3963: critical priority package update for amazon-ssm-agent
-
ALAS2023-2026-3110
Amazon Linux 2023 - ALAS2023-2026-3110: Important priority package update for amazon-ssm-agent
-
ALAS2023-2026-3149
Amazon Linux 2023 - ALAS2023-2026-3149: Critical priority package update for amazon-ssm-agent
-
AZL-94673
CVE-2026-71557 affecting package cri-o 1.30.1-1
-
AZL-95487
CVE-2026-71557 affecting package packer for versions less than 1.9.5-20
- CGA-225w-g8x4-65vf
- CGA-22g3-x557-q697
- CGA-24q6-pp6c-6ch8
- CGA-24wc-9f7v-9rf9
- CGA-254x-5v9v-hhf6
- CGA-2552-4772-64g7
- CGA-25hh-f7r2-59r3
- CGA-25wx-mqvc-8mvc
- CGA-269q-fvw4-29vg
- CGA-26pw-wmvj-94p2
- CGA-2936-8fff-jj4p
- CGA-29qj-cm4q-hjjx
- CGA-2fvj-fgg4-wc5r
- CGA-2fvw-xpmj-5qxf
- CGA-2gg2-f625-xmm7
- CGA-2jm5-hpq7-4wm8
- CGA-2p2m-c4w6-j96q
- CGA-2q2v-p7j6-qmvr
- CGA-2qff-p8q4-m2cg
- CGA-2r5f-m6qw-77gc
- CGA-2xpg-v3rf-729g
- CGA-3266-hjfc-jrvv
- CGA-32h2-qqmp-wrmx
- CGA-33pr-94r4-h3mq
- CGA-347f-4m69-q8cj
- CGA-35mh-xxrx-qg37
- CGA-369c-8c2j-c2vg
- CGA-36c8-8fr6-cpmw
- CGA-37fj-68ph-4rjp
- CGA-38xv-6829-jcf6
- CGA-39gp-cg5h-6h7w
- CGA-39p7-xh66-xcr2
- CGA-3fxc-jxvv-hprg
- CGA-3gfc-c7h7-r7c9
- CGA-3ghj-rg22-cjcm
- CGA-3hg7-36m2-q5vv
- CGA-3jjw-8jm7-qvx4
- CGA-3mww-hxh6-8f7g
- CGA-3pf9-q7hf-hw4v
- CGA-3pvv-7xc4-f353
- CGA-3qpw-f9jj-f4w2
- CGA-3qv7-jr5g-3274
- CGA-3rhm-864p-2fw4
- CGA-3rrv-6q5j-56xj
- CGA-3v24-35jg-gxh3
- CGA-3vhj-3w6h-v97j
- CGA-3vhj-837w-frrj
- CGA-3wgm-559c-wxqq
- CGA-3wjc-8q92-wvqg
- CGA-3x7j-8288-5c23
- CGA-3x8g-r376-v3hg
- CGA-3xpw-9mh3-vp2x
- CGA-44wr-p6mg-gp38
- CGA-45mm-98qp-7g59
- CGA-4675-w893-hcg4
- CGA-469x-9ppw-j5h2
- CGA-46q3-g3gp-w9wj
- CGA-46rc-7887-6323
- CGA-47f3-8cx9-x7c5
- CGA-47h8-c67h-r7vf
- CGA-49r5-v259-3fx9
- CGA-4cw8-8wpp-4wwv
- CGA-4f79-jh2g-8rjv
- CGA-4f93-wwph-5q79
- CGA-4g4v-97mj-h9ch
- CGA-4gh9-769f-rgq5
- CGA-4hmx-j492-mmh2
- CGA-4j4m-h78p-xf9c
- CGA-4j8x-jv4v-vxfj
- CGA-4jp3-j547-5wx8
- CGA-4m92-hwhw-7437
- CGA-4mx6-jmf6-pm96
- CGA-4qrx-4cjq-4hwr
- CGA-4qx4-vhxp-54c7
- CGA-4r5v-7j23-36g7
- CGA-4x2j-fr8f-76g3
- CGA-4x9q-9hq3-qx6x
- CGA-4xfv-c36v-9g2x
- CGA-56fq-5xhm-jgg2
- CGA-56g7-4cp6-wmvg
- CGA-56m5-2hv6-q8c8
- CGA-575q-xfq8-r5hc
- CGA-579w-qqjq-3x94
- CGA-57xx-4936-jr4x
- CGA-582g-3jjc-r5fx
- CGA-58w3-88h4-r37x
- CGA-59j8-qjpf-7f5x
- CGA-5c28-h7f7-hr9v
- CGA-5c5x-6f2h-x9g3
- CGA-5f5c-h6c8-rq3c
- CGA-5fp8-7mq3-qjm7
- CGA-5g7v-m572-qc2m
- CGA-5h66-mgff-8vf2
- CGA-5hwp-w5pj-fh52
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-71557.
References
- https://github.com/go-git/go-git/commit/4a0e66d555de5f9a30c31e2df64f445f42bd01e7
- https://github.com/go-git/go-git/commit/da9f7d8a0e98b475600177348d6ece384a370f36
- https://github.com/go-git/go-git/pull/2247
- https://github.com/go-git/go-git/pull/2254
- https://github.com/go-git/go-git/releases/tag/v5.19.2
- https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5
- https://github.com/go-git/go-git/security/advisories/GHSA-qgq7-7hm3-q39j