> CVE-2026-71557 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-07 17:17
MODIFIED
2026-08-07 17:17
CVSS_SCORE V3
6.3
EPSS (Prob. Exploit)
0.41%
Top 64.3%
DATA SOURCES:
NVD 🔗 2026-08-07 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 GITHUB 🔗 2026-10-15 OSV 🔗 2026-11-02 MSRC 🔗 2026-11-02

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
EXPLOITABILITY
2.1
IMPACT
4.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-22

> CWE DETAILED DESCRIPTIONS

CWE-22: Improper Limitation of a Pathname to a Restricted Directory - The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

> GITHUB SECURITY ADVISORY

GHSA-qgq7-7hm3-q39j MODERATE

go-git: Malicious reference names may modify files outside the reference storage

AFFECTED PACKAGES:
GO / github.com/go-git/go-git/v6
<= 6.0.0-alpha.4
Fixed in: 6.0.0-alpha.5
GO / github.com/go-git/go-git/v5
<= 5.19.1
Fixed in: 5.19.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

go-git: Malicious reference names may modify files outside the reference storage

AFFECTED PACKAGES:
Unknown / Unknown
92 versions affected
ALIASES:
GHSA-qgq7-7hm3-q39j, GO-2026-6214

> HISTORIQUE DES MODIFICATIONS

Première apparition
07/08/2026 17:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that i...
Nouvelle valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory - The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneat...
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that i...
Total des modifications: 2 Dernière mise à jour: 2 days ago

> 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
https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5
https://github.com/go-git/go-git/security/advisories/GHSA-qgq7-7hm3-q39j
« BACK_TO_HOME