- Accueil
- Vulnérabilités
- CVE-2026-64652
CVE-2026-64652
GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, gh auth status masked only…
Résumé
GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, gh auth status masked only the characters after the last underscore in certain fine-grained personal access tokens and GitHub App tokens. As a result, part of an affected token could appear in terminal or CI output that is captured or shared. Authenticated users are affected if they ran gh auth status (without the --show-token flag) with a token type whose format contains an underscore after the prefix. This includes fine-grained personal access tokens (github_pat_*) and GitHub App installation and user access tokens (ghs_*, ghu_*; for example, ghs_<APPID>_<JWT>), as well as the Actions GITHUB_TOKEN. Classic tokens such as gho_* and ghp_* have an underscore-free body and are not affected. This issue is fixed in version 2.97.0.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Go (3 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| github.com/cli/cli | Versions non précisées | — | OSV |
| github.com/cli/cli/v2 | avant 2.97.0 (exclu) |
2.97.0 |
GitHub Advisory |
| github.com/cli/cli/v2 | avant 2.97.0 (exclu) |
2.97.0 |
OSV |
Correctif
Mise à jour — Go/github.com/cli/cli/v2 2.97.0source officielle
Source : GitHub Advisory
Mise à jour — Go/github.com/cli/cli/v2 2.97.0source officielle
Source : OSV
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GO-2026-6766 — GitHub CLI partially discloses authentication tokens in `gh auth status` output in github.com/cli/cli 19 oct. 2026
- GHSA-cg6r-mpgc-h9mm — GitHub CLI partially discloses authentication tokens in `gh auth status` output 15 oct. 2026
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1, CNA:security-advisories@github.com)- Faiblesse
- CWE-201 · Divulgation d'information