Vulnerability in golang-github-cli-go-gh
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2026-48501 has been found in golang-github-cli-go-gh.
Attackers can target a specific entry point like Authorization header over the network to misuse the product.
Confidential information can be exposed externally.
What to do: upgrade golang-github-cli-go-gh to 2.93.0 or later.
If unsure, ask your IT team or search "golang-github-cli-go-gh UBUNTU-CVE-2026-48501" on the vendor's site.
UBUNTU-CVE-2026-48501 (golang-github-cli-go-gh)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: Authorization header
Patched: 2.93.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in golang-github-cli-go-gh. Attackers reach the vulnerable code path via Authorization header without authentication.
Check the vendor advisory for the affected versions of golang-github-cli-go-gh. Attack surface: Authorization header.
Severity: ?. Confidential information can be exposed externally.
Update to 2.93.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'golang-github-cli-go-gh' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'golang-github-cli-go-gh' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
golang-github-cli-go-ghを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade golang-github-cli-go-gh to 2.93.0ステージング環境で 2.93.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:24.04:LTSgolang-github-cli-go-gh |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSgolang-github-cli-go-gh-v2 |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10golang-github-cli-go-gh |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10golang-github-cli-go-gh-v2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgolang-github-cli-go-gh |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgolang-github-cli-go-gh-v2 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
GitHub CLI (gh) is GitHub’s official command line tool. Prior to 2.93.0, GitHub CLI incorrectly includes authorization header in API requests to TUF repository mirrors via gh attestation, gh release verify, and gh release verify-asset commands. The CLI uses a shared HTTP client with an authentication layer that automatically attaches tokens to outgoing requests. This layer lacks accurate host detection and can incorrectly attribute the target host, providing it with a token it should never receive. Specifically, the host normalization logic collapses any *.github.com subdomain to github.com, so a request to tuf-repo.github.com (a GitHub Pages site, not a GitHub API endpoint) is treated as a request to github.com and receives the user's github.com token. For hosts that don't match github.com or a known GHES instance at all, the resolver falls back to GH_ENTERPRISE_TOKEN if set. The gh attestation, gh release verify and gh release verify-asset commands fetch data from several external hosts as part of their normal operation (TUF metadata from tuf-repo.github.com and tuf-repo-cdn.sigstore.dev, artifact bundles from Azure Blob Storage). Because these requests go through the same authenticated HTTP client, the token is sent to all of them. This vulnerability is fixed in 2.93.0.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com