Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Go-git versions before 5.19.2 (v5) and before 6.0.0-alpha.5 (v6) are vulnerable to a path traversal issue in filesystem-backed reference storage. An attacker who can get a malicious Git server to advertise a crafted reference name, or otherwise supply such names, can make the library access files outside the intended reference storage, such as repository config or HEAD. Upgrade to go-git v5.19.2 or v6.0.0-alpha.5. Applications using only in-memory storage are not affected.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.3 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0041, the 36th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:14 UTC First seen by agentprime
- 31 Oct 2026, 14:14 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-qgq7-7hm3-q39j
- OSV: GHSA-qgq7-7hm3-q39j
- github.com/go-git/go-git/security/advisories/GHSA-qgq7-7hm3-q39j
- github.com/go-git/go-git/pull/2247
- github.com/go-git/go-git/pull/2254
- github.com/go-git/go-git/commit/4a0e66d555de5f9a30c31e2df64f445f42bd01e7
- github.com/go-git/go-git/commit/da9f7d8a0e98b475600177348d6ece384a370f36
- github.com/go-git/go-git
- github.com/go-git/go-git/releases/tag/v5.19.2
- github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5