CVE-2026-55249
Last modified
CVE-2026-55249 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. @rtk-ai/rtk-rewrite transparently rewrites shell commands executed via OpenClaw's exec tool to their RTK equivalents. In 1.0.0, the @rtk-ai/rtk-rewrite OpenClaw plugin passes attacker-controlled input directly into a shell-backed execSync() template string without shell-safe escaping. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
@rtk-ai/rtk-rewrite transparently rewrites shell commands executed via OpenClaw's exec tool to their RTK equivalents. In 1.0.0, the @rtk-ai/rtk-rewrite OpenClaw plugin passes attacker-controlled input directly into a shell-backed execSync() template string without shell-safe escaping. JSON.stringify() wraps the value in double quotes and escapes inner double-quotes and backslashes, but leaves $() and backtick shell metacharacters untouched. Because execSync delegates execution to /bin/sh -c, the shell expands $(...) substitutions even inside double-quoted strings, causing the injected subcommand to execute before rtk is invoked. An attacker who can influence the exec tool's command parameter (e.g., via an LLM agent prompt or gateway/tool-call input) achieves arbitrary OS command execution with the privileges of the plugin/gateway process.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rtkai | Rtk-Rewrite | 1.0.0 |
References
- https://github.com/rtk-ai/rtk/security/advisories/GHSA-fqgj-m2gp-mr3qExploit, Patch, Third Party Advisory
- https://github.com/rtk-ai/rtk/security/advisories/GHSA-fqgj-m2gp-mr3qExploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-55249?
How severe is CVE-2026-55249?
How do I fix CVE-2026-55249?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-55241Checkmate is an open-source, self-hosted tool designed to tr…7.5
- CVE-2026-55242ERPNext is a free and open source Enterprise Resource Planni…8.8
- CVE-2026-55244ASTEVAL is an evaluator of Python expressions and statements…5
- CVE-2026-55245Bifrost is an enterprise AI gateway for routing requests to …8.7
- CVE-2026-55247plone.app.event provides the event content type for Plone. P…9.1
- CVE-2026-55248plone.app.portlets provides portlets and a Plone-specific us…9.1
- CVE-2026-5525A stack-based buffer overflow vulnerability exists in Notepa…7.8
- CVE-2026-55250Maravel, a PHP framework oriented towards dependency injecti…8.7
- CVE-2026-55253LangChain MongoDB provides integrations between MongoDB, Atl…7.7
- CVE-2026-55254NCalc is a fast, lightweight expression evaluator for .NET. …6.5
- CVE-2026-55255Langflow is a tool for building and deploying AI-powered age…8.4
- CVE-2026-55256In parsePartHeaders of multiple files, there is a possible p…6.5
Are you affected by CVE-2026-55249?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
