취약점  ·  2026-06-25

rtk LLM Context Filter — Permission Splitter Bypass Enables Shell Command Injection Through Allowed-List Commands (

취약점High 영향도GlobalCVE-2026-54555
rtk's permission splitter, which decides whether a shell command is allowed before its output is filtered into LLM context, fails to conservatively reject or split several Bash constructs that are command-execution boundaries. An allowed command prefix can be followed by subshells or nested execution to achieve arbitrary command execution.
rtk sits between the shell and the LLM context window — it is a security control for AI coding agents. Bypassing its permission splitter means attacker-controlled content (e.g. from a project's Makefile or shell scripts) can execute arbitrary commands in the context of the LLM's execution environment, completely subverting the tool's safety purpose.
A command beginning with an allowed prefix but containing shell constructs that Bash treats as execution boundaries (subshells, process substitution, command grouping) bypasses the permission splitter's conservative-split logic, executing attacker-controlled code under the guise of an approved command
rtk (rtk-ai/rtk) < 0.42.2
Upgrade to rtk 0.42.2. Advisory: https://github.com/rtk-ai/rtk/security/advisories/GHSA-7gxq-fvfc-g327
출처
NVD CVE-2026-54555GitHub Security Advisory GHSA-7gxq-fvfc-g327
라이브 피드에서 보기 AI 보안 및 거버넌스 관련 소식을 더 살펴보세요 — 매일 아침 업데이트.
피드 열기 →