Impact
The vulnerability is a command injection flaw that occurs when the @rtk-ai/rtk-rewrite plugin forwards attacker‑controlled input into a shell‑backed execSync template string. Because the shell expands $() and backtick expressions inside double‑quoted strings, an attacker can cause arbitrary OS commands to run before the intended RTK operation, giving them the privileges of the gateway or plugin process.
Affected Systems
The affected component is the @rtk-ai/rtk-rewrite OpenClaw plugin bundled with rtk‑ai:rtk. Version 1.0.0 of the plugin is known to contain this flaw, and any OpenClaw deployment that includes this version is vulnerable.
Risk and Exploitability
The CVSS score of 6.3 indicates a moderate risk, and the exploit probability score is not currently available. The vulnerability is not listed in CISA’s KEV catalog. An attacker who can influence the exec tool’s command parameter—such as through an LLM agent prompt or gateway/tool‑call input—can trigger the flaw and execute any shell command with the privileges of the running process.
OpenCVE Enrichment