# CVE-2026-54555: rtk: Permission-gate bypass in rtk rewrite auto-allow via unsplit shell separators

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-23T19:05:20.849Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rtk-ai rtk: < 0.42.2

## References

- <https://github.com/rtk-ai/rtk/security/advisories/GHSA-7gxq-fvfc-g327> (exploit)

## Sources

- CVE List: [CVE-2026-54555](https://www.cve.org/CVERecord?id=CVE-2026-54555), CVE Terms of Use, modified 2026-06-24
- NVD: [CVE-2026-54555](https://nvd.nist.gov/vuln/detail/CVE-2026-54555), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54555 · Whole record: https://cve.day/CVE-2026-54555.json · Rebuilt by cve.day 2026-11-25T22:59:25.532Z
