CVE-2026-54555CWE-863

rtk: Permission-gate bypass in rtk rewrite auto-allow via unsplit shell separators

High · published June 23, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
8.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00196 · 8.9th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2026-06-23T19:05Z
EPSS history
Timeline
  • 23 JUN 19:05Z
    rtk: Permission-gate bypass in rtk rewrite auto-allow via unsplit shell separators
    cvelistv5