ubuntu-cve-2026-71557
Vulnerability from osv_ubuntu
Published
2026-08-11 00:00
Modified
2026-08-11 00:00
Summary
Details
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.
Severity
6.3 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "go-git",
"binary_version": "5.4.2-3ubuntu0.1~esm2"
},
{
"binary_name": "golang-github-go-git-go-git-dev",
"binary_version": "5.4.2-3ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-github-go-git-go-git",
"purl": "pkg:deb/ubuntu/golang-github-go-git-go-git@5.4.2-3ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.4.2-3",
"5.4.2-3ubuntu0.1~esm1",
"5.4.2-3ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "go-git",
"binary_version": "5.4.2-4ubuntu0.24.04.3+esm3"
},
{
"binary_name": "golang-github-go-git-go-git-dev",
"binary_version": "5.4.2-4ubuntu0.24.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "golang-github-go-git-go-git",
"purl": "pkg:deb/ubuntu/golang-github-go-git-go-git@5.4.2-4ubuntu0.24.04.3+esm3?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.4.2-3build1",
"5.4.2-4",
"5.4.2-4ubuntu0.24.04.1",
"5.4.2-4ubuntu0.24.04.2",
"5.4.2-4ubuntu0.24.04.2+esm1",
"5.4.2-4ubuntu0.24.04.3",
"5.4.2-4ubuntu0.24.04.3+esm1",
"5.4.2-4ubuntu0.24.04.3+esm2",
"5.4.2-4ubuntu0.24.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "go-git",
"binary_version": "5.16.2-1ubuntu0.1~esm1"
},
{
"binary_name": "golang-github-go-git-go-git-dev",
"binary_version": "5.16.2-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:26.04:LTS",
"name": "golang-github-go-git-go-git",
"purl": "pkg:deb/ubuntu/golang-github-go-git-go-git@5.16.2-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.14.0-1",
"5.16.2-1",
"5.16.2-1ubuntu0.1~esm1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-71557",
"modified": "2026-08-11T00:00:00Z",
"published": "2026-08-11T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-71557"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-71557"
},
{
"type": "REPORT",
"url": "https://github.com/go-git/go-git/commit/4a0e66d555de5f9a30c31e2df64f445f42bd01e7"
},
{
"type": "REPORT",
"url": "https://github.com/go-git/go-git/commit/da9f7d8a0e98b475600177348d6ece384a370f36"
},
{
"type": "REPORT",
"url": "https://github.com/go-git/go-git/pull/2247"
},
{
"type": "REPORT",
"url": "https://github.com/go-git/go-git/pull/2254"
},
{
"type": "REPORT",
"url": "https://github.com/go-git/go-git/releases/tag/v5.19.2"
},
{
"type": "REPORT",
"url": "https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5"
},
{
"type": "REPORT",
"url": "https://github.com/go-git/go-git/security/advisories/GHSA-qgq7-7hm3-q39j"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-71557"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…