CVE-2026-6942: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in radareorg radare2-mcp
radare2-mcp version 1.6.0 and earlier contains an os command injection vulnerability that allows remote attackers to execute arbitrary commands by bypassing the command filter through shell metacharacters in user-controlled input passed to r2_cmd_str(). Attackers can inject shell metacharacters through the jsonrpc interface parameters to achieve remote code execution on the host running radare2-mcp without requiring authentication.
AI Analysis
Technical Summary
CVE-2026-6942 is an OS command injection vulnerability in radareorg's radare2-mcp (version 1.6.0 and earlier). The vulnerability stems from improper sanitization of user-controlled input passed to the r2_cmd_str() function, allowing attackers to bypass command filters using shell metacharacters. This can be exploited remotely via the jsonrpc interface without authentication, enabling arbitrary command execution on the host system. The vulnerability is classified under CWE-78 and has a CVSS 4.0 base score of 9.3, indicating critical severity. No patch or official remediation level has been published as of the data provided.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary OS commands on the host running radare2-mcp, potentially leading to full system compromise. The vulnerability affects all versions up to and including 1.6.0. There are no known exploits in the wild at this time. The critical CVSS score reflects the high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting access to the jsonrpc interface to trusted networks or disable the vulnerable service if possible to reduce exposure.
CVE-2026-6942: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in radareorg radare2-mcp
Description
radare2-mcp version 1.6.0 and earlier contains an os command injection vulnerability that allows remote attackers to execute arbitrary commands by bypassing the command filter through shell metacharacters in user-controlled input passed to r2_cmd_str(). Attackers can inject shell metacharacters through the jsonrpc interface parameters to achieve remote code execution on the host running radare2-mcp without requiring authentication.
CVSS v4.0
Score 9.3critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6942 is an OS command injection vulnerability in radareorg's radare2-mcp (version 1.6.0 and earlier). The vulnerability stems from improper sanitization of user-controlled input passed to the r2_cmd_str() function, allowing attackers to bypass command filters using shell metacharacters. This can be exploited remotely via the jsonrpc interface without authentication, enabling arbitrary command execution on the host system. The vulnerability is classified under CWE-78 and has a CVSS 4.0 base score of 9.3, indicating critical severity. No patch or official remediation level has been published as of the data provided.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary OS commands on the host running radare2-mcp, potentially leading to full system compromise. The vulnerability affects all versions up to and including 1.6.0. There are no known exploits in the wild at this time. The critical CVSS score reflects the high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting access to the jsonrpc interface to trusted networks or disable the vulnerable service if possible to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-23T20:52:12.685Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ea8d5f87115cfb685fc9bd
Added to database: 4/23/2026, 9:21:35 PM
Last enriched: 5/26/2026, 7:45:34 AM
Last updated: 6/7/2026, 8:04:01 AM
Views: 90
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.
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.