CVE-2024-53859: go-gh is a Go module for interacting with the `gh` utility and the GitHub API from the command line
CVE-2024-53859 is a medium-severity flaw (CVSS 6.5) affecting go-gh. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
go-gh is a Go module for interacting with the `gh` utility and the GitHub API from the command line. A security vulnerability has been identified in `go-gh` that could leak authentication tokens intended for GitHub hosts to non-GitHub hosts when within a codespace. `go-gh` sources authentication tokens from different environment variables depending on the host involved: 1. `GITHUB_TOKEN`, `GH_TOKEN` for GitHub.com and ghe.com and 2. `GITHUB_ENTER
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.5% (top 55%) |
| CISA exploited list | No |
| Weakness | CWE-200 |
| Published | 2024-11-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-53859?
go-gh: upgrade to 2.11.1. Exact commands for each OS are on this page.
Is CVE-2024-53859 being exploited?
CVE-2024-53859 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-53859 affect?
CVE-2024-53859 affects go-gh. Severity is medium (CVSS 6.5). go-gh is a Go module for interacting with the `gh` utility and the GitHub API from the command line. A security vulnerability has been identified in `go-gh` that could leak authentication tokens intended for GitHub hosts to non-GitHub hosts
How urgent is CVE-2024-53859?
Priority 34/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2025-48938 CRITICAL 9.8 UPGRADE go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier