CVE-2026-55249: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in rtk-ai rtk
CVE-2026-55249 is an OS command injection vulnerability in the @rtk-ai/rtk-rewrite OpenClaw plugin version 1.0.0. The plugin improperly handles attacker-controlled input by passing it directly into a shell-backed execSync() call without proper escaping of shell metacharacters like $() and backticks. This allows an attacker who can influence the exec tool's command parameter to execute arbitrary OS commands with the privileges of the plugin or gateway process. The vulnerability has a CVSS score of 6.3, indicating a medium severity level.
AI Analysis
Technical Summary
The vulnerability exists in @rtk-ai/rtk-rewrite version 1.0.0, where the OpenClaw plugin uses execSync() to execute shell commands. Attacker-controlled input is wrapped with JSON.stringify(), which escapes double quotes and backslashes but does not neutralize shell metacharacters such as $() and backticks. Since execSync delegates to /bin/sh -c, these metacharacters are expanded by the shell even inside double-quoted strings, enabling command injection. An attacker able to control the exec tool's command parameter (for example, via an LLM agent prompt or gateway/tool-call input) can execute arbitrary OS commands with the plugin or gateway process privileges.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands with the privileges of the plugin or gateway process. This can lead to unauthorized command execution on the host system, potentially compromising confidentiality and integrity. The CVSS vector indicates network attack vector, low attack complexity, requires privileges and user interaction, with high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using version 1.0.0 of @rtk-ai/rtk-rewrite with untrusted input passed to the exec tool's command parameter. Restrict access to the exec tool to trusted users and inputs only. Monitor vendor channels for updates or patches addressing this vulnerability.
CVE-2026-55249: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in rtk-ai rtk
Description
CVE-2026-55249 is an OS command injection vulnerability in the @rtk-ai/rtk-rewrite OpenClaw plugin version 1.0.0. The plugin improperly handles attacker-controlled input by passing it directly into a shell-backed execSync() call without proper escaping of shell metacharacters like $() and backticks. This allows an attacker who can influence the exec tool's command parameter to execute arbitrary OS commands with the privileges of the plugin or gateway process. The vulnerability has a CVSS score of 6.3, indicating a medium severity level.
CVSS v3.1
Score 6.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in @rtk-ai/rtk-rewrite version 1.0.0, where the OpenClaw plugin uses execSync() to execute shell commands. Attacker-controlled input is wrapped with JSON.stringify(), which escapes double quotes and backslashes but does not neutralize shell metacharacters such as $() and backticks. Since execSync delegates to /bin/sh -c, these metacharacters are expanded by the shell even inside double-quoted strings, enabling command injection. An attacker able to control the exec tool's command parameter (for example, via an LLM agent prompt or gateway/tool-call input) can execute arbitrary OS commands with the plugin or gateway process privileges.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands with the privileges of the plugin or gateway process. This can lead to unauthorized command execution on the host system, potentially compromising confidentiality and integrity. The CVSS vector indicates network attack vector, low attack complexity, requires privileges and user interaction, with high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using version 1.0.0 of @rtk-ai/rtk-rewrite with untrusted input passed to the exec tool's command parameter. Restrict access to the exec tool to trusted users and inputs only. Monitor vendor channels for updates or patches addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T16:44:00.625Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3ad655eed863c81e7945a0
Added to database: 06/23/2026, 18:54:13 UTC
Last enriched: 06/23/2026, 19:10:28 UTC
Last updated: 06/23/2026, 19:10:28 UTC
Views: 2
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.