# GO-2026-6766: GitHub CLI partially discloses authentication tokens in gh auth status output in github.com/cli/cli

- Database: Go
- Published: 2026-10-19
- Modified: 2026-10-19

## Tracked as

- [CVE-2026-64652](https://cve.now/CVE-2026-64652.md): GitHub CLI: Partial token disclosure in gh auth status output

## Also published as

- [GHSA-CG6R-MPGC-H9MM](https://cve.now/GHSA-CG6R-MPGC-H9MM.md) (GitHub)

## Affected versions

- github.com/cli/cli (Go): all versions
- github.com/cli/cli/v2 (Go): fixed in 2.97.0

## Description

GitHub CLI partially discloses authentication tokens in `gh auth status` output in github.com/cli/cli

## References

- https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm
- https://nvd.nist.gov/vuln/detail/CVE-2026-64652
- https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3
- https://github.com/cli/cli/releases/tag/v2.97.0

Page: https://cve.now/GO-2026-6766

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
