Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-55249: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in rtk-ai rtk

0
Medium
VulnerabilityCVE-2026-55249cvecve-2026-55249cwe-78
Published: 06/23/2026 (06/23/2026, 18:33:46 UTC)
Source: CVE Database V5
Vendor/Project: rtk-ai
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N

Affected software

Affected versions
=1.0.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/23/2026, 19:10:28 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses