🔍 CVE-2026-75857

7.0
CVSS Score
HIGH
2026-08-18
2026-10-22 22:10
✅ 완료

🇰🇷 한글 설명

CodeWhale 0.8.41 이상 0.8.64 미만 버전의 exec_shell_interact 도구에서 승인 절차를 우회하는 취약점이 발견되었습니다. 공격자가 신뢰할 수 없는 콘텐츠를 통해 명령을 주입할 경우, 이미 승인된 대화형 셸 세션에 사용자 승인 없이 명령어를 실행할 수 있습니다.

💡 쉬운 설명

AI 에이전트가 실행 중인 터미널에 사용자의 허락 없이 몰래 명령어를 입력할 수 있는 보안 구멍이 발견되었습니다. 해커가 악성 파일이나 웹페이지를 통해 AI에게 명령을 내리면, AI가 실행 중인 프로그램에 직접 명령을 전달하게 됩니다.

🇺🇸 원문 (English)

CodeWhale versions >= 0.8.41 and < 0.8.64 contain a vulnerability in the exec_shell_interact (alias exec_interact) tool, whose approval_requirement returns ApprovalRequirement::Auto. This overrides the default Required approval for code-executing tools, so LLM-controlled stdin is written into an already-approved long-running interactive shell (e.g., a python3 -i REPL, mysql, ssh, or sudo -i session) without any approval prompt. An attacker who can inject instructions via untrusted content the agent ingests (a fetched page, MCP result, or repo file) can cause commands to run at the privilege level of that approved process. Fixed in 0.8.64.

📍 영향받는 시스템

CodeWhale versions >= 0.8.41 and < 0.8.64

⚔️ 공격 벡터

신뢰할 수 없는 외부 콘텐츠(웹페이지, MCP 결과, 저장소 파일 등)를 통한 명령 주입

🛡️ 대응 방법

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

🔧 검증 코드

출력된 버전이 0.8.64 미만(0.8.41 ~ 0.8.63)이면 취약한 상태입니다.

Shell / Script
pip show codewhale 2>/dev/null | grep -E 'Version:'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MySQL