Debian Package Tracker
Register | Log in
Subscribe

golang-github-cli-go-gh-v2

Go module for interacting with gh and the GitHub API from the command line

Choose email to subscribe with

general
  • source: golang-github-cli-go-gh-v2 (main)
  • version: 2.17.0-1
  • maintainer: Debian Go Packaging Team (DMD)
  • uploaders: Anthony Fok (DMD)
  • arch: all
  • std-ver: 4.6.2
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • stable: 2.6.0-2
  • testing: 2.6.0-2
  • unstable: 2.17.0-1
versioned links
  • 2.6.0-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.17.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • golang-github-cli-go-gh-v2-dev
action needed
2 security issues in sid high

There are 2 open security issues in sid.

2 important issues:
  • CVE-2024-53859: 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_ENTERPRISE_TOKEN`, `GH_ENTERPRISE_TOKEN` for GitHub Enterprise Server. Prior to version `2.11.1`, `auth.TokenForHost` could source a token from the `GITHUB_TOKEN` environment variable for a host other than GitHub.com or ghe.com when within a codespace. In version `2.11.1`, `auth.TokenForHost` will only source a token from the `GITHUB_TOKEN` environment variable for GitHub.com or ghe.com hosts. Successful exploitation could send authentication token to an unintended host. This issue has been addressed in version 2.11.1 and all users are advised to upgrade. Users are also advised to regenerate authentication tokens and to review their personal security log and any relevant audit logs for actions associated with their account or enterprise.
  • CVE-2025-48938: go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier. A security vulnerability has been identified in versions prior to 2.12.1 where an attacker-controlled GitHub Enterprise Server could result in executing arbitrary commands on a user's machine by replacing HTTP URLs provided by GitHub with local file paths for browsing. In `2.12.1`, `Browser.Browse()` has been enhanced to allow and disallow a variety of scenarios to avoid opening or executing files on the filesystem without unduly impacting HTTP URLs. No known workarounds are available other than upgrading.
Created: 2024-11-28 Last update: 2026-11-23 01:02
2 security issues in forky high

There are 2 open security issues in forky.

2 important issues:
  • CVE-2024-53859: 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_ENTERPRISE_TOKEN`, `GH_ENTERPRISE_TOKEN` for GitHub Enterprise Server. Prior to version `2.11.1`, `auth.TokenForHost` could source a token from the `GITHUB_TOKEN` environment variable for a host other than GitHub.com or ghe.com when within a codespace. In version `2.11.1`, `auth.TokenForHost` will only source a token from the `GITHUB_TOKEN` environment variable for GitHub.com or ghe.com hosts. Successful exploitation could send authentication token to an unintended host. This issue has been addressed in version 2.11.1 and all users are advised to upgrade. Users are also advised to regenerate authentication tokens and to review their personal security log and any relevant audit logs for actions associated with their account or enterprise.
  • CVE-2025-48938: go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier. A security vulnerability has been identified in versions prior to 2.12.1 where an attacker-controlled GitHub Enterprise Server could result in executing arbitrary commands on a user's machine by replacing HTTP URLs provided by GitHub with local file paths for browsing. In `2.12.1`, `Browser.Browse()` has been enhanced to allow and disallow a variety of scenarios to avoid opening or executing files on the filesystem without unduly impacting HTTP URLs. No known workarounds are available other than upgrading.
Created: 2025-08-09 Last update: 2026-11-23 01:02
debian/patches: 1 patch to forward upstream low

Among the 1 debian patch available in version 2.17.0-1 of the package, we noticed the following issues:

  • 1 patch where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2026-11-23 Last update: 2026-11-23 11:30
2 low-priority security issues in trixie low

There are 2 open security issues in trixie.

2 issues left for the package maintainer to handle:
  • CVE-2024-53859: (needs triaging) 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_ENTERPRISE_TOKEN`, `GH_ENTERPRISE_TOKEN` for GitHub Enterprise Server. Prior to version `2.11.1`, `auth.TokenForHost` could source a token from the `GITHUB_TOKEN` environment variable for a host other than GitHub.com or ghe.com when within a codespace. In version `2.11.1`, `auth.TokenForHost` will only source a token from the `GITHUB_TOKEN` environment variable for GitHub.com or ghe.com hosts. Successful exploitation could send authentication token to an unintended host. This issue has been addressed in version 2.11.1 and all users are advised to upgrade. Users are also advised to regenerate authentication tokens and to review their personal security log and any relevant audit logs for actions associated with their account or enterprise.
  • CVE-2025-48938: (needs triaging) go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier. A security vulnerability has been identified in versions prior to 2.12.1 where an attacker-controlled GitHub Enterprise Server could result in executing arbitrary commands on a user's machine by replacing HTTP URLs provided by GitHub with local file paths for browsing. In `2.12.1`, `Browser.Browse()` has been enhanced to allow and disallow a variety of scenarios to avoid opening or executing files on the filesystem without unduly impacting HTTP URLs. No known workarounds are available other than upgrading.

You can find information about how to handle these issues in the security team's documentation.

Created: 2024-11-28 Last update: 2026-11-23 01:02
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.6.2).
Created: 2024-04-07 Last update: 2026-11-22 21:30
testing migrations
  • excuses:
    • Migration status: Blocked. Can't migrate due to a non-migratable dependency. Check status below.
    • Blocked by: golang-charm-lipgloss-v2
    • Migrates after: golang-charm-glamour-v2
    • Migration status for golang-github-cli-go-gh-v2 (2.6.0-2 to 2.17.0-1): BLOCKED: Cannot migrate due to another item, which is blocked (please check which dependencies are stuck)
    • Issues preventing migration:
    • ∙ ∙ Build-Depends(-Arch): golang-github-cli-go-gh-v2 golang-charm-lipgloss-v2 (not considered)
    • ∙ ∙ Depends: golang-github-cli-go-gh-v2 golang-charm-lipgloss-v2 (not considered)
    • ∙ ∙ Invalidated by build-dependency
    • ∙ ∙ Invalidated by dependency
    • ∙ ∙ Build-Depends(-Arch): golang-github-cli-go-gh-v2 golang-charm-glamour-v2
    • ∙ ∙ Depends: golang-github-cli-go-gh-v2 golang-charm-glamour-v2
    • Additional info (not blocking):
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/g/golang-github-cli-go-gh-v2.html
    • ∙ ∙ Autopkgtest for golang-github-cli-go-gh-v2/2.17.0-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Pass, loong64: Pass, ppc64el: Pass, riscv64: Pass, s390x: Pass
    • ∙ ∙ Reproduced on amd64 - info
    • ∙ ∙ Reproduced on arm64 - info
    • ∙ ∙ Reproduced on armhf - info
    • ∙ ∙ Reproduced on i386 - info
    • ∙ ∙ Required age reduced by 3 days because of autopkgtest
    • ∙ ∙ 2 days old (needed 2 days)
    • Not considered
news
[rss feed]
  • [2026-11-22] Accepted golang-github-cli-go-gh-v2 2.17.0-1 (source) into unstable (Maytham Alsudany)
  • [2026-11-07] Accepted golang-github-cli-go-gh-v2 2.17.0-1~exp1 (source) into experimental (Maytham Alsudany)
  • [2025-03-05] golang-github-cli-go-gh-v2 2.6.0-2 MIGRATED to testing (Debian testing watch)
  • [2025-03-02] Accepted golang-github-cli-go-gh-v2 2.6.0-2 (source) into unstable (Jochen Sprickerhof)
  • [2024-03-11] golang-github-cli-go-gh-v2 2.6.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-03-05] Accepted golang-github-cli-go-gh-v2 2.6.0-1 (source) into unstable (Anthony Fok)
  • [2024-02-11] golang-github-cli-go-gh-v2 2.5.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-02-07] Accepted golang-github-cli-go-gh-v2 2.5.0-1 (source) into unstable (Anthony Fok)
  • [2023-12-30] golang-github-cli-go-gh-v2 2.4.0+git20231120.d32c104-1 MIGRATED to testing (Debian testing watch)
  • [2023-12-27] Accepted golang-github-cli-go-gh-v2 2.4.0+git20231120.d32c104-1 (source) into unstable (Anthony Fok)
  • [2023-12-07] golang-github-cli-go-gh-v2 2.3.0-1 MIGRATED to testing (Debian testing watch)
  • [2023-12-04] Accepted golang-github-cli-go-gh-v2 2.3.0-1 (source) into unstable (Anthony Fok)
  • [2023-10-18] golang-github-cli-go-gh-v2 2.0.0-2 MIGRATED to testing (Debian testing watch)
  • [2023-10-15] Accepted golang-github-cli-go-gh-v2 2.0.0-2 (source) into unstable (Anthony Fok)
  • [2023-10-15] Accepted golang-github-cli-go-gh-v2 2.0.0-1 (source all) into unstable (Debian FTP Masters) (signed by: Anthony Fok)
bugs [bug history graph]
  • all: 2
  • RC: 0
  • I&N: 2
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.6.0-2

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing