CVE-2026-54555
Received
Received - Intake
Command Injection in rtk Prior to 0.42.2
Publication date: 2026-06-23
Last updated on: 2026-06-23
Assigner: GitHub, Inc.
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| rtk-ai | rtk | to 0.42.2 (exc) |
| rtk-ai | rtk | to 0.40.0 (exc) |
| rtk-ai | rtk | to dev-0.43.0-rc.242 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-863 | The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. |