🔍 CVE-2026-39861

10.0
CVSS Score
CRITICAL
2026-04-21
2026-10-26 22:10
✅ 완료

🇰🇷 한글 설명

Claude Code 2.1.64 이전 버전에서 샌드박스 프로세스가 워크스페이스 외부를 가리키는 심볼릭 링크를 생성할 수 있었습니다. 이후 비샌드박스 프로세스가 해당 링크를 따라 외부 경로에 확인 없이 기록하여 샌드박스 탈출이 가능했습니다. 악의적인 콘텐츠를 프롬프트 인젝션으로 주입하면 이를 악용해 샌드박스 외부에서 코드가 실행될 수 있습니다.

💡 쉬운 설명

AI 코딩 도구인 Claude Code가 안전하게 격리된 작업 공간을 벗어나 컴퓨터의 다른 파일을 쓸 수 있는 취약점입니다. 악성 텍스트를 입력받게 되면 공격자가 이를 이용해 컴퓨터를 장악할 수 있습니다.

🇺🇸 원문 (English)

Claude Code is an agentic coding tool. Prior to version 2.1.64, Claude Code's sandbox did not prevent sandboxed processes from creating symlinks pointing to locations outside the workspace. When Claude Code subsequently wrote to a path within such a symlink, its unsandboxed process followed the symlink and wrote to the target location outside the workspace without prompting the user for confirmation. This allowed a sandbox escape where neither the sandboxed command nor the unsandboxed app could independently write outside the workspace, but their combination could write to arbitrary locations, potentially leading to code execution outside the sandbox. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window to trigger sandboxed code execution via prompt injection. Users on standard Claude Code auto-update have received this fix automatically. Users performing manual updates are advised to update to version 2.1.64 or later.

📍 영향받는 시스템

Claude Code 2.1.64 미만 버전

⚔️ 공격 벡터

프롬프트 인젝션으로 악성 콘텐츠를 주입해 심볼릭 링크를 통한 워크스페이스 외부 파일 쓰기 및 샌드박스 외부 코드 실행 유도

🛡️ 대응 방법

Claude Code를 2.1.64 이상 버전으로 업데이트

🔧 검증 코드

출력된 버전이 2.1.64 이상이면 취약점이 패치된 것이며, 그보다 낮거나 명령어가 실패하면 업데이트가 필요합니다.

Shell / Script
claude --version 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Claude Code