{"cve":"CVE-2026-71557","nvd":{"published":"2026-08-07T17:17:10.833","modified":"2026-09-10T20:41:33.140","status":"Awaiting Analysis","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L","score":6.3},"cwes":["CWE-22"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:47:54.990491175+00:00"},"epss":{"cve":"CVE-2026-71557","score":0.00413,"percentile":0.35651,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-qgq7-7hm3-q39j","url":"https://osv.dev/vulnerability/GHSA-qgq7-7hm3-q39j","summary":"go-git: Malicious reference names may modify files outside the reference storage","modified":"2026-09-10T03:50:53.977014620Z","packages":[{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","ranges":["<5.19.2"],"fixed":["5.19.2"]},{"ecosystem":"Go","name":"github.com/go-git/go-git/v6","purl":"pkg:golang/github.com/go-git/go-git/v6","ranges":["<6.0.0-alpha.5"],"fixed":["6.0.0-alpha.5"]}]},{"id":"GO-2026-6214","url":"https://osv.dev/vulnerability/GO-2026-6214","summary":"Path traversal via crafted reference names in github.com/go-git/go-git","modified":"2026-09-01T03:55:58.553700699Z","packages":[{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","ranges":["<5.19.2"],"fixed":["5.19.2"]},{"ecosystem":"Go","name":"github.com/go-git/go-git/v6","purl":"pkg:golang/github.com/go-git/go-git/v6","ranges":["<6.0.0-alpha.5"],"fixed":["6.0.0-alpha.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}