🔍 CVE-2026-88968

7.7
CVSS Score
HIGH
2026-11-03
2026-11-03 22:19
✅ 완료

🇰🇷 한글 설명

Claude Code 2.1.251 이전 버전의 Edit 도구는 경로명과 심볼릭 링크 해석으로 대상을 검증하지만, 이 검증이 실제 디렉터리 inode나 파일 디스크립터에 바인딩되어 있지 않습니다. macOS에서 Bash 샌드박스 내부의 공격자 코드가 검증 이후 작업공간 내 상위 디렉터리를 심볼릭 링크로 원자적으로 교체하여, 샌드박스 밖의 사용자 쓰기 가능 파일을 덮어쓸 수 있습니다. 이 문제는 2.1.251 버전에서 수정되었습니다.

💡 쉬운 설명

Claude Code의 파일 편집 기능이 경로 검사 후 폴더가 몰래 다른 곳을 가리키도록 바뀌는 틈을 노출합니다. 악성 저장소나 의존성 스크립트가 샌드박스 안에서 실행되면 작업폴더 밖의 파일도 조작될 수 있습니다.

🇺🇸 원문 (English)

Claude Code is an agentic coding tool. Prior to 2.1.251, the Edit tool validates a target using pathname and symlink resolution that is not bound to the underlying directory inode or file descriptor. On macOS, attacker-controlled code running in the Bash sandbox can atomically replace an in-workspace parent directory with a symlink after validation, causing the unsandboxed Edit implementation to overwrite a user-writable file outside the workspace. Exploitation requires attacker-controlled code to run inside the sandbox, such as from a malicious repository or dependency script. This issue is fixed in version 2.1.251.

📍 영향받는 시스템

macOS에서 동작하는 Claude Code 2.1.251 미만 버전

⚔️ 공격 벡터

악성 저장소나 의존성 스크립트가 Bash 샌드박스 내부에서 실행되어 검증 후 상위 디렉터리를 심볼릭 링크로 원자적으로 교체

🛡️ 대응 방법

Claude Code를 2.1.251 이상으로 업데이트

🔧 검증 코드

출력된 버전 번호가 2.1.251 미만이면 취약하므로 업데이트가 필요하고, 2.1.251 이상이면 수정된 버전입니다.

Shell / Script
claude --version 2>/dev/null

📊 CVSS Vector String

CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

💻 영향받는 소프트웨어

Claude Code