Advisory record · GHSA-389r-gv7p-r3rp

go-git's improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git

CVSS 7.0 HighEPSS 0.0016 · 5th percentile

Published by the GitHub Advisory Database at 11 May 2026, 14:48 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/go-git/go-git/v6Go>=6.0.0-alpha.1, <6.0.0-alpha.36.0.0-alpha.3
github.com/go-git/go-git/v5Go<5.19.05.19.0
Identifiers
GHSA-389r-gv7p-r3rp · CVE-2026-45022 · GO-2026-5074
Weakness (CWE)
CWE-180 · CWE-345
Published
11 May 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Two go-git modules are affected. The v6 module github.com/go-git/go-git/v6 is vulnerable from 6.0.0-alpha.1 before 6.0.0-alpha.3, and the v5 module github.com/go-git/go-git/v5 is vulnerable before 5.19.0. An attacker who can supply malformed commit or tag objects can cause go-git to parse them differently than upstream Git, and commit signing and verification run over reconstructed data, so a signature may appear valid for a commit whose metadata differs from the signed object. Upgrade v6 to 6.0.0-alpha.3 or v5 to 5.19.0. The source gives few details on the exact attack conditions.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.0 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0016, the 5th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:13 UTC First seen by agentprime
  2. 31 Oct 2026, 14:13 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.