๐Ÿ” CVE Alert

CVE-2026-54555

HIGH 7.8

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

CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-863
Vendor rtk-ai
Product rtk
Published Jun 23, 2026
Stay Ahead of the Next One

Get instant alerts for rtk-ai rtk

Be the first to know when new high vulnerabilities affecting rtk-ai rtk are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

rtk-ai / rtk
< 0.42.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/rtk-ai/rtk/security/advisories/GHSA-7gxq-fvfc-g327