🔍 CVE-2026-54555

7.8
CVSS Score
HIGH
2026-06-23
2026-10-25 23:10
✅ 완료

🇰🇷 한글 설명

rtk 0.42.2 미만 버전에서 권한 분리기가 Bash의 특정 셸 구문을 제대로 처리하지 못해 발생하는 취약점입니다. 허용된 접두사(예: git) 뒤에 숨겨진 명령어를 삽입할 경우, 시스템이 이를 정상적인 명령으로 오인하여 사용자 승인 없이 악성 명령을 실행할 수 있습니다.

💡 쉬운 설명

허용된 프로그램 뒤에 몰래 다른 명령어를 숨겨서 실행하는 방식의 보안 구멍입니다. 사용자가 'git' 같은 안전한 명령어를 허용했다고 생각할 때, 실제로는 숨겨진 위험한 명령어가 몰래 실행될 수 있습니다.

🇺🇸 원문 (English)

rtk filters and compresses command outputs before they reach your LLM context. Prior to 0.42.2, the permission splitter did not conservatively split or reject several shell constructs that Bash treats as command execution boundaries or nested execution. As a result, a command beginning with an allowed prefix such as git could hide a second command behind one of these constructs. rtk rewrite returned exit code 0, causing the Claude hook to emit permissionDecision: "allow". The rewritten command still contained the hidden command, so it ran without the user confirmation or denial that the permission rules were intended to enforce. This vulnerability is fixed in 0.42.2.

📍 영향받는 시스템

rtk versions prior to 0.42.2

⚔️ 공격 벡터

Bash의 셸 구문을 이용해 허용된 명령어 뒤에 숨겨진 명령어를 삽입하여 사용자 승인 없이 실행

🛡️ 대응 방법

rtk 버전을 0.42.2 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 0.42.2보다 낮으면 취약한 상태입니다.

Shell / Script
rtk --version 2>/dev/null | grep -E '0\.[0-9]{2}\.[0-9]{2}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git