Skip to content
MediumVulnerability

CVE-2026-55249: @rtk-ai/rtk-rewrite command injection via exec tool shell input

Identifier
CVE-2026-55249
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

In version 1.0.0 of the @rtk-ai/rtk-rewrite OpenClaw plugin, attacker-controlled input is placed into a shell-backed execSync() template string without shell-safe escaping. JSON.stringify() does not neutralize $() or backtick substitutions, so /bin/sh -c runs the injected subcommand before rtk is invoked. An attacker who can influence the exec tool's command parameter, such as through an LLM agent prompt or gateway tool-call input, gets arbitrary OS command execution with the privileges of the plugin or gateway process.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.