CVE-2026-54555: CWE-863: Incorrect Authorization in rtk-ai rtk
CVE-2026-54555 is an authorization vulnerability in rtk prior to version 0.42.2. The issue arises because the permission splitter did not properly handle certain shell constructs that Bash treats as command execution boundaries, allowing hidden commands to execute without user confirmation. This could cause unauthorized commands to run with high impact on confidentiality, integrity, and availability. The vulnerability is fixed in version 0.42.2.
AI Analysis
Technical Summary
The rtk tool filters and compresses command outputs before they reach the LLM context. Before version 0.42.2, its permission splitter failed to conservatively split or reject several shell constructs that Bash uses to separate or nest commands. Consequently, a command starting with an allowed prefix (e.g., 'git') could conceal a second command behind these constructs. The rtk rewrite process returned an exit code 0, leading the Claude hook to emit a permission decision of "allow." However, the rewritten command still contained the hidden command, which executed without the intended user permission enforcement. This is an incorrect authorization vulnerability classified as CWE-863 and is fixed in rtk version 0.42.2.
Potential Impact
An attacker could bypass intended permission checks and execute unauthorized commands hidden behind allowed command prefixes. This leads to a high impact on confidentiality, integrity, and availability of the affected system. The vulnerability allows commands to run without user confirmation or denial, undermining the security controls designed to enforce permission rules.
Mitigation Recommendations
This vulnerability is fixed in rtk version 0.42.2. Users should upgrade to version 0.42.2 or later to remediate this issue. No other official remediation or temporary fixes are indicated. Patch status is not explicitly confirmed beyond the fix in 0.42.2, so verify with the vendor advisory for the latest guidance.
CVE-2026-54555: CWE-863: Incorrect Authorization in rtk-ai rtk
Description
CVE-2026-54555 is an authorization vulnerability in rtk prior to version 0.42.2. The issue arises because the permission splitter did not properly handle certain shell constructs that Bash treats as command execution boundaries, allowing hidden commands to execute without user confirmation. This could cause unauthorized commands to run with high impact on confidentiality, integrity, and availability. The vulnerability is fixed in version 0.42.2.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The rtk tool filters and compresses command outputs before they reach the LLM context. Before version 0.42.2, its permission splitter failed to conservatively split or reject several shell constructs that Bash uses to separate or nest commands. Consequently, a command starting with an allowed prefix (e.g., 'git') could conceal a second command behind these constructs. The rtk rewrite process returned an exit code 0, leading the Claude hook to emit a permission decision of "allow." However, the rewritten command still contained the hidden command, which executed without the intended user permission enforcement. This is an incorrect authorization vulnerability classified as CWE-863 and is fixed in rtk version 0.42.2.
Potential Impact
An attacker could bypass intended permission checks and execute unauthorized commands hidden behind allowed command prefixes. This leads to a high impact on confidentiality, integrity, and availability of the affected system. The vulnerability allows commands to run without user confirmation or denial, undermining the security controls designed to enforce permission rules.
Mitigation Recommendations
This vulnerability is fixed in rtk version 0.42.2. Users should upgrade to version 0.42.2 or later to remediate this issue. No other official remediation or temporary fixes are indicated. Patch status is not explicitly confirmed beyond the fix in 0.42.2, so verify with the vendor advisory for the latest guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T19:04:14.456Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3be5f1eed863c81ef0adcb
Added to database: 06/24/2026, 14:13:05 UTC
Last enriched: 06/24/2026, 14:13:51 UTC
Last updated: 06/24/2026, 14:29:05 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.