CVE catalog

CVE-2026-64652

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

[CVE catalog]

Severity
Low · CVSS 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.15% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianghsid2.46.0-4vulnerable
Debianghtrixie2.46.0-3vulnerable
Debianghbookworm2.23.0+dfsg1-1vulnerable
Gogithub.com/cli/cli/v2Not reported2.97.0fixed
Opensuseghtumbleweed2.97.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianghsourcesid(unfixed)not yet assignedNot reported[1144403]
Debianghsourcetrixie(unfixed)not yet assignedNot reported[1144403]
Debianghsourcebookworm(unfixed)not yet assignedNot reported[1144403]
Gogithub.com/cli/cli/v2GoNot reported2.97.0Not reportedGHSA-CG6R-MPGC-H9MMNot reported
Opensuseghrpmtumbleweed2.97.0-1.1Not reportedOPENSUSE-SU-2026:11530-1Not reported

[Debian bug #1144403]

Notes

[trixie] gh: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gh]Affected
    Details (2)
    • 2.23.0+dfsg1-1 · amd64 · bookworm

      Affected

      nvd · gh · debian · bookworm; nvd · gh · debian · 12

    • 2.23.0+dfsg1-1 · arm64 · bookworm

      Affected

      nvd · gh · debian · bookworm; nvd · gh · debian · 12

[Debian 13 (Trixie)]

  • [gh]Affected
    Details (2)
    • 2.46.0-3 · amd64 · trixie

      Affected

      nvd · gh · debian · 13

    • 2.46.0-3 · arm64 · trixie

      Affected

      nvd · gh · debian · 13

[openSUSE Tumbleweed]

  • Source package: [gh]

    Details (1)
    • 2.98.0-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.97.0-1.1

      Version impact unknown

      nvd · gh · opensuse · tumbleweed

  • Source package: [gh]

    Details (1)
    • 2.98.0-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.97.0-1.1

      Version impact unknown

      nvd · gh · opensuse · tumbleweed

  • Source package: [gh]

    Details (1)
    • 2.98.0-1.1 · noarch · tumbleweed

      Unknown · Fixed: 2.97.0-1.1

      Version impact unknown

      nvd · gh · opensuse · tumbleweed

  • [gh]Fixed

    Source package: [gh]

    Details (1)
    • 2.98.0-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 2.97.0-1.1

      nvd · gh · opensuse · tumbleweed

Observed:

References