VDB
Sign up
CRITICAL9.1

GO-2026-5271

GitHub CLI has an incorrect authorization header in API requests to TUF repository mirrors via `gh attestation`, `gh release verify`, and `gh release verify-asset` commands in github.com/cli/cli

Quick fix

GO-2026-5271 — github.com/cli/cli/v2: upgrade to the fixed version with the command below.

go get github.com/cli/cli/v2@v2.93.0

Details

GitHub CLI has an incorrect authorization header in API requests to TUF repository mirrors via `gh attestation`, `gh release verify`, and `gh release verify-asset` commands in github.com/cli/cli

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/cli/cli
Introduced in: 0

No fixed version published yet for github.com/cli/cli (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/cli/cli/v2
Introduced in: 0Fixed in: 2.93.0
Fixgo get github.com/cli/cli/v2@v2.93.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/cli/cli"]}'