# GitHub CLI 2.98.0

DevFeed: [GitHub CLI 2.98.0](<https://devfeed.tech/articles/github-cli-2-98-0-67197.md>)

Original publisher: [Read original article](<https://github.com/cli/cli/releases/tag/v2.98.0>)

Author: github-actions\[bot\]

Published: 2026-08-20T22:25:43Z

Content type: release

Language: en

Sources: [GitHub CLI](<https://devfeed.tech/sources/github-cli.md>)

Topics: [GitHub CLI extension](<https://devfeed.tech/topics/gh-extension.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [stacked pull requests](<https://devfeed.tech/topics/stacked-pull-requests.md>), [hybrid-search](<https://devfeed.tech/topics/hybrid-search.md>), [auto rerun failed tests](<https://devfeed.tech/topics/auto-rerun-failed-tests.md>), [alert triage](<https://devfeed.tech/topics/alert-triage.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [dependabot](<https://devfeed.tech/tags/dependabot.md>), [git](<https://devfeed.tech/tags/git.md>), [github](<https://devfeed.tech/tags/github.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [security](<https://devfeed.tech/tags/security.md>), [semantic-search](<https://devfeed.tech/tags/semantic-search.md>), [triage](<https://devfeed.tech/tags/triage.md>), [worktrees](<https://devfeed.tech/tags/worktrees.md>)

## AI overview

GitHub CLI 2.98.0 fixes a security vulnerability that exposed forwarded Codespace ports on all network interfaces by default. It adds worktree support to `gh pr checkout` and semantic and hybrid search options to `gh search issues`, alongside other fixes and maintenance changes.

## Source excerpt

Security A security vulnerability has been identified, and fixed, that binds the local forwarded port to all available network interfaces by default. Users of gh codespace ports forward are advised to update gh to version v2.98.0 as soon as possible. For more information see: GHSA-vfhh-p7hm-pxfh Support worktrees in pr checkout Users can now checkout a pull request into a git worktree by using the new --worktree PATH flag in gh pr checkout: gh pr checkout 12 --worktree ../wt-feature Add semantic search to search issues The gh search issues command now supports semantic search for issues. Users can select the search type by passing the --search-type flag: gh search issues --search-type semantic ... gh search issues --search-type hybrid ... For more information about semantic search see: "Improved Search for github issues is now generally available". What's Changed ✨ Features Add --worktree flag to gh pr checkout by @tidy-dev in #13946 Set GH_EXTENSION=1 when gh invokes an extension by @williammartin in #14072 Add --search-type flag for semantic and hybrid issue search by @michaeljacholke in #14006 🐛 Fixes Fix RESTWithNext error type, repairing gh status and attestation retries by @williammartin in #13988 Trim spaces when parsing X-Oauth-Scopes in gh release create by @williammartin in #14065 Fix project item-add output for non-TTY by @zwick in #14056 📚 Docs & Chores Slim down dependabot triage comments by @williammartin in #14019 Require explicit PR review ownership by @williammartin in #14028 Collapse spam triage into the agentic issue-triage workflow by @williammartin in #14027 Run Dependabot triage every hour by @sergiou87 in #14030 Route deploy key requests through api.Client by @williammartin in #13989 Route ssh key requests through api.Client by @williammartin in #13994 Route gpg key requests through api.Client by @williammartin in #13997 Route autolink requests through api.Client by @williammartin in #14013 Route extension requests through api.Client by @willi