🔍 CVE-2026-64654

0.0
CVSS Score
UNKNOWN
2026-08-06
2026-09-10 20:36
✅ 완료

🇰🇷 한글 설명

GitHub CLI(gh) 2.97.0 미만 버전에서 외부에서 제어 가능한 콘텐츠(gist, API, PR 등)를 출력할 때 터미널 이스케이프 시퀀스를 중화하지 못하는 취약점이 발견되었습니다. 공격자가 조작된 콘텐츠를 통해 사용자의 터미널 화면을 변조하거나, 특정 터미널 에뮬레이터에서는 임의의 명령어를 실행할 수 있습니다.

💡 쉬운 설명

GitHub 명령어를 사용할 때 화면에 나타나는 글자 속에 숨겨진 특수 코드가 사용자의 컴퓨터를 조종할 수 있는 문제입니다. 나쁜 의도를 가진 사람이 만든 글을 읽기만 해도 해킹을 당할 위험이 있습니다.

🇺🇸 원문 (English)

GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.

📍 영향받는 시스템

GitHub CLI (gh) version 2.97.0 미만 모든 버전

⚔️ 공격 벡터

조작된 콘텐츠(Gist, PR, Release 등)를 포함한 명령어를 사용자가 실행하도록 유도하여 터미널 이스케이프 시퀀스 주입

🛡️ 대응 방법

GitHub CLI를 최신 버전인 2.97.0 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 결과가 SAFE이면 안전하며, VULNERABLE이면 취약한 버전이므로 즉시 업데이트가 필요합니다.

Shell / Script
gh --version | grep -E 'gh version [0-9]+\.[0-9]+\.[0-9]+' | awk '{print $3}' | awk -F. '{if ($1 >= 2 && ($1 > 2 || $2 >= 97)) print "SAFE"; else print "VULNERABLE"}'

💻 영향받는 소프트웨어

Git