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 in Wolfi
- CGA-225w-g8x4-65vf
- CGA-254x-5v9v-hhf6
- CGA-25wx-mqvc-8mvc
- CGA-2936-8fff-jj4p
- CGA-29qj-cm4q-hjjx
- CGA-2fvw-xpmj-5qxf
- CGA-2xpg-v3rf-729g
- CGA-3266-hjfc-jrvv
- CGA-33pr-94r4-h3mq
- CGA-347f-4m69-q8cj
- CGA-369c-8c2j-c2vg
- CGA-38xv-6829-jcf6
- CGA-39p7-xh66-xcr2
- CGA-3jjw-8jm7-qvx4
- CGA-3mww-hxh6-8f7g
- CGA-3pvv-7xc4-f353
- CGA-3qv7-jr5g-3274
- CGA-3rrv-6q5j-56xj
- CGA-3v24-35jg-gxh3
- CGA-3wjc-8q92-wvqg
- CGA-3x8g-r376-v3hg
- CGA-44wr-p6mg-gp38
- CGA-45mm-98qp-7g59
- CGA-4675-w893-hcg4
- CGA-46q3-g3gp-w9wj
- CGA-46rc-7887-6323
- CGA-4f93-wwph-5q79
- CGA-4g4v-97mj-h9ch
- CGA-4hmx-j492-mmh2
- CGA-4qx4-vhxp-54c7
- CGA-4r5v-7j23-36g7
- CGA-4xfv-c36v-9g2x
- CGA-56g7-4cp6-wmvg
- CGA-57xx-4936-jr4x
- CGA-58w3-88h4-r37x
- CGA-5c5x-6f2h-x9g3
- CGA-5x22-g7vh-gvph
- CGA-63m2-4mm8-9jxf
- CGA-65vx-8vf5-vm9g
- CGA-6685-xwq5-56qx
- CGA-6953-f6qg-9m4q
- CGA-6g6r-f965-932f
- CGA-6jgh-j8xr-5xm5
- CGA-6ppr-hh24-8rjc
- CGA-6q2q-7w59-258g
- CGA-6q5h-vp75-hqrp
- CGA-6w42-vw9f-w5jh
- CGA-6w8x-96c4-6chv
- CGA-732j-hq4w-rxj7
- CGA-74cr-mc93-2mvp
- CGA-75h2-98v8-3v8c
- CGA-75m6-63mp-m7ww
- CGA-75q5-hh39-q7w9
- CGA-777q-xq5c-vgwg
- CGA-7957-r4mh-wxw5
- CGA-797q-hmc3-4jv3
- CGA-79h8-w546-r4x2
- CGA-7g5g-g69v-m93g
- CGA-7jwr-85ph-958h
- CGA-7pqc-667p-7vpq
- CGA-7r7f-jjj3-2q6r
- CGA-88w9-wcjr-w7vw
- CGA-8j65-9jqw-x475
- CGA-8mm3-8g8r-76f4
- CGA-8mv4-gjcq-xhm8
- CGA-8prr-pxc8-cjwj
- CGA-8rgj-6gwg-8pw2
- CGA-8w42-g73m-5m7m
- CGA-8w84-8287-ph5w
- CGA-94mj-v67w-8gg5
- CGA-94x6-8fmr-fm4f
- CGA-9h29-54xh-2ww5
- CGA-9hm2-455q-mgc6
- CGA-9j7g-242r-584q
- CGA-9qwg-qmgm-cxqm
- CGA-9wf8-h92v-c43f
- CGA-c3wq-57xm-23m4
- CGA-c5j7-5f58-j4mq
- CGA-c5q3-2rj3-p6jq
- CGA-c7fp-93vr-xw4j
- CGA-chc5-whg5-9759
- CGA-cj6p-xqgv-q4j5
- CGA-cm58-9rhh-h923
- CGA-cm92-2x5v-jg82
- CGA-f42q-xf9r-7xr9
- CGA-f5fc-wv2f-7477
- CGA-f5gr-whqg-4757
- CGA-f7xw-g996-hx3x
- CGA-fcm9-5h2v-cqrg
- CGA-fp4w-9p2g-r9jr
- CGA-fr9c-m9j7-w654
- CGA-fv8m-mq9w-xqcr
- CGA-fvh2-f27h-mq73
- CGA-fw5r-52mh-mm3h
- CGA-fwcc-rvhh-hmmv
- CGA-g9xj-r2wv-2p92
- CGA-ggmw-6w94-mfh3
- CGA-gpwh-vqvw-4735
- CGA-gwg3-pc58-6jhm
- CGA-h36m-2xrh-8qrf
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