GitHub CLI 2.106.0 fixes seven bugs in terminal output and Codespaces
The release patches terminal escape-sequence injection across several commands, a skill name-squatting bug, and a Codespaces flaw that could leak local cookies, none of which carry CVE numbers.
GitHub shipped gh CLI 2.106.0 on 25 November, patching seven security vulnerabilities in the command-line tool developers use to drive GitHub from the terminal.
Most share a root cause: commands weren’t stripping untrusted terminal escape sequences from their output. The check used by gh repo read-file, gh api and others didn’t recognise C1 control characters, so untrusted text could reach your terminal unneutralised. The same class of bug hit verbose and API-debug logging, gh codespace ports, gh agent-task view --log, and gh skill install and gh skill search. Two further fixes stand apart: gh skill update could install a skill from a different repository that reused the name of one you already had installed, and gh codespace jupyter could expose localhost cookies and local development services if you connected to a malicious Codespace. GitHub tracked all seven under GHSA advisories rather than assigning CVE numbers.
Why it matters: if you use gh for anything that pulls remote output into your terminal, including the newer skill and agent-task commands, you were carrying this exposure until you update. The gh skill update name-reuse bug is worth a second look if you’ve started installing Agent Skills through the CLI: check that what you have installed still points at the repository you expect.
The caveat: GitHub didn’t assign CVE numbers to any of these seven, so they won’t turn up in a CVE feed, only in gh’s own release notes and the linked GHSA advisories.