{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45022","id":"CVE-2026-45022","title":"go-git: Improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git","description":"go-git is an extensible git implementation library written in pure Go. Prior to 5.19.0 and 6.0.0-alpha.3, go-git may parse malformed Git objects in a way that differs from upstream Git. When commit or tag objects contain ambiguous or malformed headers, go-git’s decoded representation may expose values differently from how Git itself would interpret or reject the same object. Additionally, go-git’s","descriptionLong":"go-git is an extensible git implementation library written in pure Go. Prior to 5.19.0 and 6.0.0-alpha.3, go-git may parse malformed Git objects in a way that differs from upstream Git. When commit or tag objects contain ambiguous or malformed headers, go-git’s decoded representation may expose values differently from how Git itself would interpret or reject the same object. Additionally, go-git’s commit signing and verification logic operates over commit data reconstructed from go-git’s parsed representation rather than the original raw object bytes. As a result, go-git may sign or verify a commit payload that is not byte-for-byte equivalent to the object stored in the repository. This can cause a signature to appear valid for a commit whose displayed or effective metadata differs from the object that was intended to be signed. This vulnerability is fixed in 5.19.0 and 6.0.0-alpha.3.","published":"2026-05-27T14:54:47.872Z","updated":"2026-10-28T02:30:47.926930054Z","reserved":"2026-05-08T16:58:28.896Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"}],"rating":"high","products":["go-git"],"affectedProducts":[{"vendor":"go-git","product":"go-git","defaultStatus":null,"versions":[{"version":"< 5.19.0","status":"affected"},{"version":">= 6.0.0-alpha.1, < 6.0.0-alpha.3","status":"affected"}],"platforms":[]}],"packages":[{"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.1 <6.0.0-alpha.3"],"fixed":["6.0.0-alpha.3"],"advisory":"GHSA-389r-gv7p-r3rp"},{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","ranges":["<5.19.0"],"fixed":["5.19.0"],"advisory":"GHSA-389r-gv7p-r3rp"}],"cwes":["CWE-180","CWE-345"],"aliases":["GHSA-389r-gv7p-r3rp","GO-2026-5074"],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-389r-gv7p-r3rp","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45022.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45022","tags":["advisory"]},{"url":"https://github.com/go-git/go-git","tags":["package"]},{"url":"https://github.com/go-git/go-git/releases/tag/v5.19.0","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00159,"epssPercentile":0.05189,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45022","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45022","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45022","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-389r-gv7p-r3rp","ok":true,"note":"GHSA-389r-gv7p-r3rp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45022","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}