{"id":"CVE-2026-64654","aliases":["AZL-95462","DEBIAN-CVE-2026-64654","UBUNTU-CVE-2026-64654"],"summary":"GitHub CLI: Terminal escape sequence injection in multiple `gh` commands","published_at":"2026-08-06T18:27:38.491Z","modified_at":"2026-10-17T12:59:16.171539Z","products":[],"rating":{"severity":"medium","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"SUSE","rating":"moderate"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.007689999882131815,"percentile":0.5636900067329407,"date":"2026-11-19T00:00:00Z"},"priority":5.7,"details":"GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.","affected_stack":[],"affected_other":[{"ecosystem":"Azure Linux:3","package":"gh","purl":"pkg:rpm/azure-linux/gh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.97.0-1"}]}],"fixed":["2.97.0-1"],"provider":"osv","source":"AZL-95462","relation":"self"},{"ecosystem":"CVE","package":"cli/cli","versions":["< 2.97.0"],"provider":"cvelistv5","source":"CVE-2026-64654","relation":"self"},{"ecosystem":"Debian:12","package":"gh","purl":"pkg:deb/debian/gh?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.23.0+dfsg1-1","2.24.3+dfsg1-1","2.27.0+dfsg1-1","2.30.0-1","2.30.0-2","2.35.0-1","2.40.1+dfsg1-1","2.42.1-1","2.43.1-1","2.44.1-1","2.44.1-2","2.45.0-1","2.46.0-1","2.46.0-2","2.46.0-3","2.46.0-4"],"provider":"osv","source":"DEBIAN-CVE-2026-64654","relation":"self"},{"ecosystem":"Debian:13","package":"gh","purl":"pkg:deb/debian/gh?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46.0-3","2.46.0-4"],"provider":"osv","source":"DEBIAN-CVE-2026-64654","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"gh","purl":"pkg:deb/ubuntu/gh?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0+dfsg1-1","2.4.0+dfsg1-2"],"provider":"osv","source":"UBUNTU-CVE-2026-64654","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"gh","purl":"pkg:deb/ubuntu/gh?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46.0-4"],"provider":"osv","source":"UBUNTU-CVE-2026-64654","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"gh","purl":"pkg:deb/ubuntu/gh?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.27.0+dfsg1-1build1","2.30.0-2","2.35.0-1","2.40.1+dfsg1-1","2.42.1-1","2.43.1-1","2.44.1-1","2.44.1-2","2.45.0-1","2.45.0-1build1","2.45.0-1ubuntu0.1","2.45.0-1ubuntu0.2","2.45.0-1ubuntu0.2+esm1","2.45.0-1ubuntu0.2+esm2","2.45.0-1ubuntu0.3","2.45.0-1ubuntu0.3+esm1","2.45.0-1ubuntu0.3+esm2","2.45.0-1ubuntu0.3+esm3"],"provider":"osv","source":"UBUNTU-CVE-2026-64654","relation":"self"},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"gh","purl":"pkg:deb/ubuntu/gh?arch=source&distro=esm-apps%2Fresolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46.0-3","2.46.0-4","2.46.0-4ubuntu0.26.04.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-64654","relation":"self"},{"ecosystem":"openSUSE:Leap 16.0","package":"gh","purl":"pkg:rpm/opensuse/gh&distro=openSUSE%20Leap%2016.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.98.0-bp160.1.1"}]}],"fixed":["2.98.0-bp160.1.1"],"provider":"osv","source":"openSUSE-SU-2026:21663-1","relation":"upstream"},{"ecosystem":"openSUSE:Tumbleweed","package":"gh","purl":"pkg:rpm/opensuse/gh&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.97.0-1.1"}]}],"fixed":["2.97.0-1.1"],"provider":"osv","source":"openSUSE-SU-2026:11530-1","relation":"upstream"}],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["gh","gh-bash-completion","gh-fish-completion","gh-zsh-completion"],"package_count":4,"fixed":["gh-2.97.0-1.1","gh-bash-completion-2.97.0-1.1","gh-fish-completion-2.97.0-1.1","gh-zsh-completion-2.97.0-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-64654"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps","cpe":"cpe:/a:redhat:openshift_gitops:1","status":"not_affected","packages":["openshift-gitops-1/argocd-rhel8","openshift-gitops-1/argocd-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64654"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","cpe":"cpe:/a:redhat:openstack:18.0","status":"not_affected","packages":["rhoso-operators/openstack-operator-bundle"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64654"}],"records":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:11530-1","relation":"upstream","url":"https://www.suse.com/security/cve/CVE-2026-64652/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-17T00:00:00Z","modified_at":"2026-08-17T00:00:00Z","summary":"gh-2.97.0-1.1 on GA media","details":"gh-2.97.0-1.1 on GA media\n\nThese are all security issues fixed in the gh-2.97.0-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[{"type":"SUSE","score":"moderate","source":"openSUSE-SU-2026:11530-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_11530-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64652/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64653/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64654/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64655/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64652"},{"type":"WEB","url":"https://bugzilla.suse.com/1276663"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64653"},{"type":"WEB","url":"https://bugzilla.suse.com/1276664"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64654"},{"type":"WEB","url":"https://bugzilla.suse.com/1276662"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64655"},{"type":"WEB","url":"https://bugzilla.suse.com/1276661"}]},{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:21663-1","relation":"upstream","url":"https://bugzilla.suse.com/1266618","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-26T16:15:07Z","modified_at":"2026-08-26T16:15:07Z","summary":"Security update for gh","details":"Security update for gh\n\nThis update for gh fixes the following issues:\n\nChanges in gh:\n\n- Update to version 2.98.0:\n  * chore: fix extra whitespace\n  * Default Codespaces port forwarding to loopback\n  * Bump gh-aw-actions to v0.87.1 and recompile workflows\n  * Fix issue triage action compatibility\n  * chore(deps): bump golang.org/x/crypto from 0.54.0 to 0.55.0\n  * chore: bump go to 1.26.7 (#14205)\n  * chore(deps): bump the codeql-actions group across 1 directory with 3 updates\n  * chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1\n  * Revert \"ci: add temporary step to verify Linux repo signing keys\"\n  * ci: add temporary step to verify Linux repo signing keys\n  * Accept pre-release tags in deployment validation (#14193)\n  * chore: sign APT repositories with both keys\n  * chore(deps): bump charm.land/lipgloss/v2 from 2.0.5 to 2.0.6\n  * chore(deps): bump the aw-actions group with 2 updates\n  * chore(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2\n  * Bump Go to 1.26.6\n  * Upgrade gh-aw workflows to v0.85.4\n  * chore(deps): bump github.com/google/go-containerregistry\n  * chore(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12\n  * Address review: drop cleanup markers, document search-type in skill\n  * Reconcile feature detection cleanup comment rules in AGENTS.md\n  * Update AGENTS.md with cleanup comment guidance\n  * Address review feedback\n  * Add --search-type flag for semantic and hybrid issue search\n  * Rename config mock constructors to match repo convention\n  * Document when to use the config mock or the isolated config\n  * Accept config content in NewIsolatedTestConfig\n  * Clear auth environment variables in isolated test config\n  * Isolate git config in tests that shell out to git\n  * Rename config stub file to test.go\n  * chore(deps): bump the aw-actions group with 2 updates\n  * Add aw-actions group to dependabot configuration\n  * Rename cli-code-reviewer skill to code-review (#14116)\n  * chore(deps): bump github/gh-aw-actions/setup-cli from 0.83.4 to 0.85.4\n  * Reduce item-add test diff\n  * Isolate item-add test mocks\n  * Test item-add output through command path\n  * Run lint workflow when the lint workflow changes\n  * Bump golangci-lint in CI to v2.12.2\n  * Clarify PR testing section expectations\n  * chore(deps): bump the codeql-actions group across 1 directory with 3 updates\n  * chore(deps): bump azure/login from 3.0.0 to 3.0.1\n  * chore(deps): bump actions/attest from 4.2.1 to 4.2.2\n  * Use reflect.Pointer instead of deprecated reflect.Ptr\n  * Add a scheduled tech debt burndown skill (#14095)\n  * Restore automatic spam issue closure (#14088)\n  * Give Dependabot triage a real reachability check (#14087)\n  * Route release deletions through api.Client (#14077)\n  * chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.0\n  * chore(deps): bump github.com/google/go-containerregistry\n  * Grant the gate the scopes its CI read needs\n  * Keep pre-flight dedup out of the integrity proxy\n  * Key direct/indirect off the // indirect comment\n  * Gate triager confidence on required evidence\n  * Gate Dependabot triage on deterministic pre-flight check\n  * Set GH_EXTENSION=1 when gh invokes an extension\n  * Tell agents to use the PR template in AGENTS.md\n  * Merge pull request #14062 from cli/williammartin-wp-08-release-create\n  * Route extension requests through api.Client (#14059)\n  * Route autolink requests through api.Client (#14013)\n  * chore(deps): bump the codeql-actions group across 1 directory with 3 updates\n  * fix(release create): trim spaces when parsing X-Oauth-Scopes\n  * Match worktree rev-parse stub against absolute path on Windows\n  * fix(pr/checkout): pass -- before worktree path so dash paths work\n  * docs(pr/checkout): add worktree usage example to help text\n  * docs(skills): mention pr checkout worktree support\n  * chore(pr checkout): polish worktree related tests\n  * Route gpg key requests through api.Client (#13997)\n  * Use generated key in ssh-key acceptance test\n  * Route ssh key requests through api.Client\n  * Fix item-add output for non-TTY\n  * test(pr/checkout): add acceptance tests for worktree checkout\n  * chore(deps): bump actions/attest from 4.2.0 to 4.2.1\n  * chore(deps): bump github.com/sigstore/sigstore-go from 1.2.2 to 1.3.0\n  * Generate unique acceptance SSH keys\n  * Route deploy key requests through api.Client\n  * Collapse spam triage into the agentic issue-triage workflow (#14027)\n  * Run Dependabot triage hourly\n  * chore(deps): bump github.com/yuin/goldmark from 1.8.4 to 1.8.5\n  * Require explicit PR review ownership (#14028)\n  * Slim down dependabot triage comments (#14019)\n  * Wrap RESTWithNext errors as api.HTTPError\n  * Bail out early on unusable --worktree paths\n  * Clarify current-worktree rejection message\n  * Return ok bool from revParseFacts to satisfy nilerr\n  * Drop docs on self-explanatory worktree helpers\n  * Trim redundant comments and clarify worktree field names\n  * Resolve worktree target once instead of re-querying git\n  * Fix worktree toplevel stub to match Windows absolute paths\n  * Detect worktrees via git rev-parse and reject the current worktree\n  * Address review: restore TODO, flatten detachCmds, guard worktree symlink\n  * Cover detach-reuse, worktree fetch dir, and symlink path resolution\n  * Harden worktree submodule prefixing and cover cmd.Dir stripping\n  * Create branch when reusing a worktree with a new --branch name\n  * Extract authenticatedCommand helper to dedupe -C handling\n  * Preserve no-force safety when reusing a worktree for fork PRs\n  * Simplify submodule worktree prefix to inline conditional\n  * Run submodule commands inside the worktree for pr checkout\n  * tidying..\n  * Refine PR checkout worktree flag help\n  * Add --worktree flag to gh pr checkout\n\n- CVE-2026-39821: golang.org/x/net/idna: failure to reject ASCII-only\n  Punycode-encoded labels allows for validation bypass and privilege\n  escalation (bsc#1266618).\n\n- Update to version 2.97.0, fixing four security issues (CVE-2026-64654, bsc#1276662,\n  CVE-2026-64653, bsc#1276664, CVE-2026-64652, bsc#1276663, CVE-2026-64655, bsc#1276661):\n  * CVE-2026-64654: terminal escape sequence injection in gist view, api,\n    pr diff, release download --output -, codespace logs, skills preview\n    and agent-task view/create\n  * CVE-2026-64653: unescaped variable path components in request URLs\n    could redirect gh to a different resource than intended\n  * CVE-2026-64652: gh auth status could print part of the auth token in\n    plaintext for token types with an underscore after the prefix\n  * CVE-2026-64655: gh attestation verify built its --signer-repo/\n    --signer-workflow matcher without escaping regex metacharacters,\n    allowing a lookalike signer to pass verification\n  * Add named field columns to gh project item-list and item-edit","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"openSUSE-SU-2026:21663-1"},{"type":"SUSE","score":"important","source":"openSUSE-SU-2026:21663-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_21663-1.json"},{"type":"WEB","url":"https://bugzilla.suse.com/1266618"},{"type":"WEB","url":"https://bugzilla.suse.com/1276661"},{"type":"WEB","url":"https://bugzilla.suse.com/1276662"},{"type":"WEB","url":"https://bugzilla.suse.com/1276663"},{"type":"WEB","url":"https://bugzilla.suse.com/1276664"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39821/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64652/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64653/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64654/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64655/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39821"},{"type":"WEB","url":"https://bugzilla.suse.com/1266474"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64652"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64653"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64654"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64655"}]},{"provider":"osv","source_id":"openSUSE-SU-2026:11530-1","relation":"upstream","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:11530-1","published_at":"2026-08-17T00:00:00Z","modified_at":"2026-08-18T09:30:04.58976Z","summary":"gh-2.97.0-1.1 on GA media","details":"These are all security issues fixed in the gh-2.97.0-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[],"affected":[{"ecosystem":"openSUSE:Tumbleweed","package":"gh","purl":"pkg:rpm/opensuse/gh&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.97.0-1.1"}]}],"fixed":["2.97.0-1.1"],"provider":"osv","source":"openSUSE-SU-2026:11530-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64652"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64653"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64654"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64655"}]},{"provider":"osv","source_id":"openSUSE-SU-2026:21663-1","relation":"upstream","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:21663-1","published_at":"2026-08-26T16:15:07Z","modified_at":"2026-08-27T17:30:03.684853Z","summary":"Security update for gh","details":"This update for gh fixes the following issues:\n\nChanges in gh:\n\n- Update to version 2.98.0:\n  * chore: fix extra whitespace\n  * Default Codespaces port forwarding to loopback\n  * Bump gh-aw-actions to v0.87.1 and recompile workflows\n  * Fix issue triage action compatibility\n  * chore(deps): bump golang.org/x/crypto from 0.54.0 to 0.55.0\n  * chore: bump go to 1.26.7 (#14205)\n  * chore(deps): bump the codeql-actions group across 1 directory with 3 updates\n  * chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1\n  * Revert \"ci: add temporary step to verify Linux repo signing keys\"\n  * ci: add temporary step to verify Linux repo signing keys\n  * Accept pre-release tags in deployment validation (#14193)\n  * chore: sign APT repositories with both keys\n  * chore(deps): bump charm.land/lipgloss/v2 from 2.0.5 to 2.0.6\n  * chore(deps): bump the aw-actions group with 2 updates\n  * chore(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2\n  * Bump Go to 1.26.6\n  * Upgrade gh-aw workflows to v0.85.4\n  * chore(deps): bump github.com/google/go-containerregistry\n  * chore(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12\n  * Address review: drop cleanup markers, document search-type in skill\n  * Reconcile feature detection cleanup comment rules in AGENTS.md\n  * Update AGENTS.md with cleanup comment guidance\n  * Address review feedback\n  * Add --search-type flag for semantic and hybrid issue search\n  * Rename config mock constructors to match repo convention\n  * Document when to use the config mock or the isolated config\n  * Accept config content in NewIsolatedTestConfig\n  * Clear auth environment variables in isolated test config\n  * Isolate git config in tests that shell out to git\n  * Rename config stub file to test.go\n  * chore(deps): bump the aw-actions group with 2 updates\n  * Add aw-actions group to dependabot configuration\n  * Rename cli-code-reviewer skill to code-review (#14116)\n  * chore(deps): bump github/gh-aw-actions/setup-cli from 0.83.4 to 0.85.4\n  * Reduce item-add test diff\n  * Isolate item-add test mocks\n  * Test item-add output through command path\n  * Run lint workflow when the lint workflow changes\n  * Bump golangci-lint in CI to v2.12.2\n  * Clarify PR testing section expectations\n  * chore(deps): bump the codeql-actions group across 1 directory with 3 updates\n  * chore(deps): bump azure/login from 3.0.0 to 3.0.1\n  * chore(deps): bump actions/attest from 4.2.1 to 4.2.2\n  * Use reflect.Pointer instead of deprecated reflect.Ptr\n  * Add a scheduled tech debt burndown skill (#14095)\n  * Restore automatic spam issue closure (#14088)\n  * Give Dependabot triage a real reachability check (#14087)\n  * Route release deletions through api.Client (#14077)\n  * chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.0\n  * chore(deps): bump github.com/google/go-containerregistry\n  * Grant the gate the scopes its CI read needs\n  * Keep pre-flight dedup out of the integrity proxy\n  * Key direct/indirect off the // indirect comment\n  * Gate triager confidence on required evidence\n  * Gate Dependabot triage on deterministic pre-flight check\n  * Set GH_EXTENSION=1 when gh invokes an extension\n  * Tell agents to use the PR template in AGENTS.md\n  * Merge pull request #14062 from cli/williammartin-wp-08-release-create\n  * Route extension requests through api.Client (#14059)\n  * Route autolink requests through api.Client (#14013)\n  * chore(deps): bump the codeql-actions group across 1 directory with 3 updates\n  * fix(release create): trim spaces when parsing X-Oauth-Scopes\n  * Match worktree rev-parse stub against absolute path on Windows\n  * fix(pr/checkout): pass -- before worktree path so dash paths work\n  * docs(pr/checkout): add worktree usage example to help text\n  * docs(skills): mention pr checkout worktree support\n  * chore(pr checkout): polish worktree related tests\n  * Route gpg key requests through api.Client (#13997)\n  * Use generated key in ssh-key acceptance test\n  * Route ssh key requests through api.Client\n  * Fix item-add output for non-TTY\n  * test(pr/checkout): add acceptance tests for worktree checkout\n  * chore(deps): bump actions/attest from 4.2.0 to 4.2.1\n  * chore(deps): bump github.com/sigstore/sigstore-go from 1.2.2 to 1.3.0\n  * Generate unique acceptance SSH keys\n  * Route deploy key requests through api.Client\n  * Collapse spam triage into the agentic issue-triage workflow (#14027)\n  * Run Dependabot triage hourly\n  * chore(deps): bump github.com/yuin/goldmark from 1.8.4 to 1.8.5\n  * Require explicit PR review ownership (#14028)\n  * Slim down dependabot triage comments (#14019)\n  * Wrap RESTWithNext errors as api.HTTPError\n  * Bail out early on unusable --worktree paths\n  * Clarify current-worktree rejection message\n  * Return ok bool from revParseFacts to satisfy nilerr\n  * Drop docs on self-explanatory worktree helpers\n  * Trim redundant comments and clarify worktree field names\n  * Resolve worktree target once instead of re-querying git\n  * Fix worktree toplevel stub to match Windows absolute paths\n  * Detect worktrees via git rev-parse and reject the current worktree\n  * Address review: restore TODO, flatten detachCmds, guard worktree symlink\n  * Cover detach-reuse, worktree fetch dir, and symlink path resolution\n  * Harden worktree submodule prefixing and cover cmd.Dir stripping\n  * Create branch when reusing a worktree with a new --branch name\n  * Extract authenticatedCommand helper to dedupe -C handling\n  * Preserve no-force safety when reusing a worktree for fork PRs\n  * Simplify submodule worktree prefix to inline conditional\n  * Run submodule commands inside the worktree for pr checkout\n  * tidying..\n  * Refine PR checkout worktree flag help\n  * Add --worktree flag to gh pr checkout\n\n- CVE-2026-39821: golang.org/x/net/idna: failure to reject ASCII-only\n  Punycode-encoded labels allows for validation bypass and privilege\n  escalation (bsc#1266618).\n\n- Update to version 2.97.0, fixing four security issues (CVE-2026-64654, bsc#1276662,\n  CVE-2026-64653, bsc#1276664, CVE-2026-64652, bsc#1276663, CVE-2026-64655, bsc#1276661):\n  * CVE-2026-64654: terminal escape sequence injection in gist view, api,\n    pr diff, release download --output -, codespace logs, skills preview\n    and agent-task view/create\n  * CVE-2026-64653: unescaped variable path components in request URLs\n    could redirect gh to a different resource than intended\n  * CVE-2026-64652: gh auth status could print part of the auth token in\n    plaintext for token types with an underscore after the prefix\n  * CVE-2026-64655: gh attestation verify built its --signer-repo/\n    --signer-workflow matcher without escaping regex metacharacters,\n    allowing a lookalike signer to pass verification\n  * Add named field columns to gh project item-list and item-edit","severity":[],"affected":[{"ecosystem":"openSUSE:Leap 16.0","package":"gh","purl":"pkg:rpm/opensuse/gh&distro=openSUSE%20Leap%2016.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.98.0-bp160.1.1"}]}],"fixed":["2.98.0-bp160.1.1"],"provider":"osv","source":"openSUSE-SU-2026:21663-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":""},{"type":"REPORT","url":"https://bugzilla.suse.com/1266618"},{"type":"REPORT","url":"https://bugzilla.suse.com/1276661"},{"type":"REPORT","url":"https://bugzilla.suse.com/1276662"},{"type":"REPORT","url":"https://bugzilla.suse.com/1276663"},{"type":"REPORT","url":"https://bugzilla.suse.com/1276664"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-39821"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64652"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64653"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64654"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64655"}]},{"provider":"cvelistv5","source_id":"CVE-2026-64654","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-64654","license":"CC-BY-4.0","published_at":"2026-08-06T18:27:38.491Z","modified_at":"2026-08-07T17:09:40.307Z","summary":"GitHub CLI: Terminal escape sequence injection in multiple `gh` commands","details":"GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","source":"CVE-2026-64654"}],"affected":[{"ecosystem":"CVE","package":"cli/cli","versions":["< 2.97.0"],"provider":"cvelistv5","source":"CVE-2026-64654","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46"},{"type":"WEB","url":"https://github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054"},{"type":"WEB","url":"https://github.com/cli/cli/releases/tag/v2.97.0"}]},{"provider":"csaf-suse","source_id":"CVE-2026-64654","relation":"self","url":"https://www.suse.com/security/cve/CVE-2026-64654/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-18T16:56:48Z","modified_at":"2026-08-26T01:15:49Z","summary":"SUSE CVE CVE-2026-64654","details":"SUSE CVE-2026-64654\n\nGitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803-which addressed only gh run view --log-to the other affected command paths. This issue is fixed in version 2.97.0.","severity":[{"type":"SUSE","score":"moderate","source":"CVE-2026-64654"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["gh","gh-bash-completion","gh-fish-completion","gh-zsh-completion"],"package_count":4,"fixed":["gh-2.97.0-1.1","gh-bash-completion-2.97.0-1.1","gh-fish-completion-2.97.0-1.1","gh-zsh-completion-2.97.0-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-64654"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64654"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1276662"}]},{"provider":"osv","source_id":"AZL-95462","relation":"self","url":"https://osv.dev/vulnerability/AZL-95462","license":"MIT","published_at":"2026-08-06T22:18:13Z","modified_at":"2026-09-10T14:16:46.730544Z","summary":"CVE-2026-64654 affecting package gh for versions less than 2.97.0-1","details":"GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.","severity":[],"affected":[{"ecosystem":"Azure Linux:3","package":"gh","purl":"pkg:rpm/azure-linux/gh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.97.0-1"}]}],"fixed":["2.97.0-1"],"provider":"osv","source":"AZL-95462","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64654"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-64654","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-64654","published_at":"2026-08-06T22:18:13.38Z","modified_at":"2026-10-01T03:03:38.229931Z","details":"GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"DEBIAN-CVE-2026-64654"}],"affected":[{"ecosystem":"Debian:12","package":"gh","purl":"pkg:deb/debian/gh?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.23.0+dfsg1-1","2.24.3+dfsg1-1","2.27.0+dfsg1-1","2.30.0-1","2.30.0-2","2.35.0-1","2.40.1+dfsg1-1","2.42.1-1","2.43.1-1","2.44.1-1","2.44.1-2","2.45.0-1","2.46.0-1","2.46.0-2","2.46.0-3","2.46.0-4"],"provider":"osv","source":"DEBIAN-CVE-2026-64654","relation":"self"},{"ecosystem":"Debian:13","package":"gh","purl":"pkg:deb/debian/gh?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46.0-3","2.46.0-4"],"provider":"osv","source":"DEBIAN-CVE-2026-64654","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-64654"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-64654","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-64654","license":"CC-BY-SA-4.0","published_at":"2026-08-06T22:18:00Z","modified_at":"2026-10-17T12:59:16.171539Z","details":"GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","source":"UBUNTU-CVE-2026-64654"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-64654"}],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"gh","purl":"pkg:deb/ubuntu/gh?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0+dfsg1-1","2.4.0+dfsg1-2"],"provider":"osv","source":"UBUNTU-CVE-2026-64654","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"gh","purl":"pkg:deb/ubuntu/gh?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46.0-4"],"provider":"osv","source":"UBUNTU-CVE-2026-64654","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"gh","purl":"pkg:deb/ubuntu/gh?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.27.0+dfsg1-1build1","2.30.0-2","2.35.0-1","2.40.1+dfsg1-1","2.42.1-1","2.43.1-1","2.44.1-1","2.44.1-2","2.45.0-1","2.45.0-1build1","2.45.0-1ubuntu0.1","2.45.0-1ubuntu0.2","2.45.0-1ubuntu0.2+esm1","2.45.0-1ubuntu0.2+esm2","2.45.0-1ubuntu0.3","2.45.0-1ubuntu0.3+esm1","2.45.0-1ubuntu0.3+esm2","2.45.0-1ubuntu0.3+esm3"],"provider":"osv","source":"UBUNTU-CVE-2026-64654","relation":"self"},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"gh","purl":"pkg:deb/ubuntu/gh?arch=source&distro=esm-apps%2Fresolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.46.0-3","2.46.0-4","2.46.0-4ubuntu0.26.04.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2026-64654","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-64654"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-64654"},{"type":"REPORT","url":"https://github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054"},{"type":"REPORT","url":"https://github.com/cli/cli/releases/tag/v2.97.0"},{"type":"REPORT","url":"https://github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46"}]},{"provider":"redhat-vex","source_id":"CVE-2026-64654","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-64654","license":"CC-BY-4.0","published_at":"2026-08-06T18:27:38.491Z","modified_at":"2026-08-10T09:39:00Z","summary":"github.com/cli/cli: GitHub CLI: Terminal escape sequence injection allows command execution","details":"A flaw was found in GitHub CLI (gh). Multiple commands within the tool fail to neutralize terminal escape sequences when displaying externally controlled content. An attacker who can influence this content can embed malicious escape sequences. These sequences are then interpreted by a user's terminal, potentially leading to cosmetic manipulation of the display or, in some terminal emulators, arbitrary command execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-64654"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-64654"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps","cpe":"cpe:/a:redhat:openshift_gitops:1","status":"not_affected","packages":["openshift-gitops-1/argocd-rhel8","openshift-gitops-1/argocd-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64654"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 18.0","cpe":"cpe:/a:redhat:openstack:18.0","status":"not_affected","packages":["rhoso-operators/openstack-operator-bundle"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-64654"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64654.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-64654"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2512206"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-64654"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64654"},{"type":"WEB","url":"https://github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054"},{"type":"WEB","url":"https://github.com/cli/cli/releases/tag/v2.97.0"},{"type":"WEB","url":"https://github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46"}]}],"references":[{"type":"WEB","url":"https://github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46"},{"type":"WEB","url":"https://github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054"},{"type":"WEB","url":"https://github.com/cli/cli/releases/tag/v2.97.0"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-64654"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1276662"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64654"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-64654"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-64654"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-64654"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64654.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-64654"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2512206"}],"sources":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:11530-1","url":"https://www.suse.com/security/cve/CVE-2026-64652/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-17T00:00:00Z","relation":"upstream"},{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:21663-1","url":"https://bugzilla.suse.com/1266618","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-26T16:15:07Z","relation":"upstream"},{"provider":"osv","source_id":"openSUSE-SU-2026:11530-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:11530-1","modified_at":"2026-08-18T09:30:04.58976Z","relation":"upstream"},{"provider":"osv","source_id":"openSUSE-SU-2026:21663-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:21663-1","modified_at":"2026-08-27T17:30:03.684853Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-64654","url":"https://www.cve.org/CVERecord?id=CVE-2026-64654","license":"CC-BY-4.0","modified_at":"2026-08-07T17:09:40.307Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2026-64654","url":"https://www.suse.com/security/cve/CVE-2026-64654/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-26T01:15:49Z","relation":"self"},{"provider":"osv","source_id":"AZL-95462","url":"https://osv.dev/vulnerability/AZL-95462","license":"MIT","modified_at":"2026-09-10T14:16:46.730544Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-64654","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-64654","modified_at":"2026-10-01T03:03:38.229931Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-64654","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-64654","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:59:16.171539Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-64654","url":"https://access.redhat.com/security/cve/CVE-2026-64654","license":"CC-BY-4.0","modified_at":"2026-08-10T09:39:00Z","relation":"self"}]}
