🔍 CVE-2026-75913

9.3
CVSS Score
CRITICAL
2026-08-18
2026-10-22 22:10
✅ 완료

🇰🇷 한글 설명

CodeWhale(codewhale / codewhale-tui) 0.8.41 이상 0.8.64 미만 버전의 git_show 도구에서 인자 주입 취약점이 발견되었습니다. 공격자가 악성 저장소와 프롬프트 인젝션을 결합하여 rev 파라미터에 --output= 옵션을 주입하면, 사용자의 권한으로 ~/.ssh/authorized_keys와 같은 민감한 파일을 임의로 작성할 수 있습니다.

💡 쉬운 설명

프로그램이 명령어를 실행할 때 입력값을 제대로 검사하지 않아 발생하는 문제입니다. 해커가 특수하게 조작된 명령을 보내면 사용자의 컴퓨터에 몰래 중요한 파일을 만들거나 수정할 수 있습니다.

🇺🇸 원문 (English)

CodeWhale (codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain an argument injection vulnerability in the git_show tool. The model-supplied rev parameter is passed unvalidated into the git show argv without an --end-of-options sentinel, so a value beginning with --output= is interpreted as a git flag. Because the tool is registered as auto-approved and advertised as read-only, an attacker (via a malicious repository combined with prompt injection) can cause an unprompted arbitrary file write at the privilege of the invoking user, targeting sensitive files such as ~/.ssh/authorized_keys, ~/.bashrc, or ~/.gitconfig. Fixed in 0.8.64 by adding rev validation.

📍 영향받는 시스템

CodeWhale (codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64

⚔️ 공격 벡터

악성 저장소를 통한 프롬프트 인젝션 및 git_show 도구의 rev 파라미터 인자 주입

🛡️ 대응 방법

CodeWhale 버전을 0.8.64 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 실행 결과로 0.8.41에서 0.8.63 사이의 버전이 출력되면 취약한 상태입니다.

Shell / Script
codewhale --version 2>/dev/null | grep -E '0\.(08\.)?(4[1-9]|[5-9][0-9]|[1-5][0-9])'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H

💻 영향받는 소프트웨어

Git