{
  "cveId": "CVE-2024-53859",
  "url": "https://patchblox.com/security/cve/CVE-2024-53859",
  "summary": "CVE-2024-53859 is fixed in golang-github-cli-go-gh-v2-dev on 1 platform by golang-github-cli-go-gh-v2-dev 2.6.0-1ubuntu0.24.04.1~esm1 (version 2.6.0-1ubuntu0.24.04.1~esm1), released November 27, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "golang-github-cli-go-gh-v2-dev: go-gh is a Go module for interacting with the \u0060gh\u0060 utility and the GitHub API from the command line",
  "description": "go-gh is a Go module for interacting with the \u0060gh\u0060 utility and the GitHub API from the command line. A security vulnerability has been identified in \u0060go-gh\u0060 that could leak authentication tokens intended for GitHub hosts to non-GitHub hosts when within a codespace. \u0060go-gh\u0060 sources authentication tokens from different environment variables depending on the host involved: 1. \u0060GITHUB_TOKEN\u0060, \u0060GH_TOKEN\u0060 for GitHub.com and ghe.com and 2. \u0060GITHUB_ENTERPRISE_TOKEN\u0060, \u0060GH_ENTERPRISE_TOKEN\u0060 for GitHub Enterprise Server. Prior to version \u00602.11.1\u0060, \u0060auth.TokenForHost\u0060 could source a token from the \u0060GITHUB_TOKEN\u0060 environment variable for a host other than GitHub.com or ghe.com when within a codespace. In version \u00602.11.1\u0060, \u0060auth.TokenForHost\u0060 will only source a token from the \u0060GITHUB_TOKEN\u0060 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.",
  "published": "2024-11-27T14:15:00Z",
  "severity": "Medium",
  "epss": 0.00548,
  "epssPercentile": 0.46162,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "golang-github-cli-go-gh-v2-dev",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.6.0-1ubuntu0.24.04.1~esm1",
      "fix": "golang-github-cli-go-gh-v2-dev 2.6.0-1ubuntu0.24.04.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-golang-github-cli-go-gh-v2-dev-2.6.0-1ubuntu0.24.04.1-esm1",
      "released": "2024-11-27T14:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}