Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-64652

Type: advisorySource: OSV1 source record

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__), 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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-64652

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-64652

gh

Source reference: /affected/0/package/name

Affected versions
2.23.0+dfsg1-1

Source reference: /affected/0/versions

2.24.3+dfsg1-1

Source reference: /affected/0/versions

2.27.0+dfsg1-1

Source reference: /affected/0/versions

2.30.0-1

Source reference: /affected/0/versions

2.30.0-2

Source reference: /affected/0/versions

2.35.0-1

Source reference: /affected/0/versions

2.40.1+dfsg1-1

Source reference: /affected/0/versions

2.42.1-1

Source reference: /affected/0/versions

2.43.1-1

Source reference: /affected/0/versions

2.44.1-1

Source reference: /affected/0/versions

2.44.1-2

Source reference: /affected/0/versions

2.45.0-1

Source reference: /affected/0/versions

2.46.0-1

Source reference: /affected/0/versions

2.46.0-2

Source reference: /affected/0/versions

2.46.0-3

Source reference: /affected/0/versions

2.46.0-4

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gh

Source reference: /affected/1/package/name

Affected versions
2.46.0-3

Source reference: /affected/1/versions

2.46.0-4

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "gh",
      "purl": "pkg:deb/debian/gh?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.23.0+dfsg1-1",
      "2.24.3+dfsg1-1",
      "2.27.0+dfsg1-1",
      "2.30.0-1",
      "2.30.0-2",
      "2.35.0-1",
      "2.40.1+dfsg1-1",
      "2.42.1-1",
      "2.43.1-1",
      "2.44.1-1",
      "2.44.1-2",
      "2.45.0-1",
      "2.46.0-1",
      "2.46.0-2",
      "2.46.0-3",
      "2.46.0-4"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-64652.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "gh",
      "purl": "pkg:deb/debian/gh?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "2.46.0-3",
      "2.46.0-4"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-64652.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#58257 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement