🔍 CVE-2026-55607

8.8
CVSS Score
HIGH
2026-06-29
2026-10-25 21:10
✅ 완료

🇰🇷 한글 설명

Claude Code 2.1.38부터 2.1.163 버전 사이에서 워크트리 처리 방식의 결함으로 인해 발생한 취약점입니다. 공격자가 악성 저장소를 통해 심볼릭 링크 조작 및 git fsmonitor 실행을 유도하면, 샌드박스를 벗어나 사용자의 홈 디렉토리에 있는 파일을 덮어쓰고 임의의 코드를 실행할 수 있습니다.

💡 쉬운 설명

사용자가 악성 코드가 담긴 저장소를 Claude Code로 열었을 때, 프로그램이 보안 구역을 벗어나 컴퓨터의 중요한 설정 파일을 마음대로 수정할 수 있는 문제입니다. 이를 통해 해커가 사용자의 컴퓨터에서 몰래 명령어를 실행할 위험이 있습니다.

🇺🇸 원문 (English)

Claude Code is an agentic coding tool. From 2.1.38 until 2.1.163, Claude Code's worktree handling allowed creation of worktrees named ".git" and navigation to worktrees outside the sandbox context, enabling git directory confusion attacks. By exploiting symlink manipulation and git fsmonitor execution during worktree operations, an attacker could overwrite files in the user's home directory (such as .zshenv), leading to code execution outside of seatbelt sandbox restrictions. Reliably exploiting this required the user to clone a malicious repository containing prompt injection content and run Claude Code against it. This vulnerability is fixed in 2.1.163.

📍 영향받는 시스템

Claude Code versions 2.1.38 to 2.1.163

⚔️ 공격 벡터

악성 프롬프트 주입이 포함된 저장소를 클론한 후 Claude Code를 실행하여 심볼릭 링크 및 git fsmonitor를 조작함

🛡️ 대응 방법

Claude Code를 최신 버전인 2.1.163 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 2.1.38에서 2.1.163 사이라면 취약한 버전이 설치되어 있는 상태입니다.

Shell / Script
claude --version 2>/dev/null | grep -E '2.1.([3-9][0-9]|1[0-6][0-9])'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git