PT-2026-51583
CVE-2026-54555
·
Published
2026-06-23
·
Updated
2026-06-25
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
rtk versions prior to 0.42.2
Description
A flaw in the permission splitter logic fails to conservatively split or reject certain Bash shell constructs that create command-execution boundaries or nested execution. This improper input validation and parsing of shell syntax allows a permitted prefix, such as 'git', to mask an additional command. Consequently, the
rtk rewrite function returns exit code 0, leading the Claude hook to emit a permissionDecision of "allow". This enables the hidden command to execute without the user confirmation or denial intended by the permission rules, potentially leading to unauthorized command execution under the user's context.Recommendations
Update to version 0.42.2.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾