# GO-2026-6765: GitHub CLI allows path traversal through unescaped request URL components in github.com/cli/cli

- Database: Go
- Published: 2026-10-19
- Modified: 2026-10-19

## Tracked as

- [CVE-2026-64653](https://cve.now/CVE-2026-64653.md): GitHub CLI: Unescaped variable components in request URLs could allow path traversal

## Also published as

- [GHSA-4FJG-2H4Q-FWG3](https://cve.now/GHSA-4FJG-2H4Q-FWG3.md) (GitHub)

## Affected versions

- github.com/cli/cli (Go): all versions
- github.com/cli/cli/v2 (Go): fixed in 2.97.0

## Description

GitHub CLI allows path traversal through unescaped request URL components in github.com/cli/cli

## References

- https://github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3
- https://nvd.nist.gov/vuln/detail/CVE-2026-64653
- https://github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06
- https://github.com/cli/cli/releases/tag/v2.97.0

Page: https://cve.now/GO-2026-6765

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
