What’s Vulnerable › Vulnerabilities
CVE-2026-54555: rtk: Permission-gate bypass in rtk rewrite auto-allow via unsplit shell separators
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-10-25
- Weakness: CWE-863
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.
Affected products
- rtk-ai rtk: before 0.42.2
References
- https://github.com/rtk-ai/rtk/security/advisories/GHSA-7gxq-fvfc-g327
- https://github.com/rtk-ai/rtk/security/advisories/GHSA-7gxq-fvfc-g327
Get alerted when CVE-2026-54555 or the next vulnerability affects your stack