VDB
Sign up
LOW3.5

GO-2026-5335

GitHub CLI: GitHub Actions log output in `gh run view` allows terminal escape sequence injection in github.com/cli/cli

Quick fix

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

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

Details

GitHub CLI: GitHub Actions log output in `gh run view` allows terminal escape sequence injection 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: 1.6.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.92.0
Fixgo get github.com/cli/cli/v2@v2.92.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"]}'