CVE-2026-6942: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78) in radareorg radare2
CVE-2026-6942 is a critical OS command injection vulnerability in radare2-mcp version 1. 6. 0 and earlier. It allows remote attackers to execute arbitrary commands on the host by injecting shell metacharacters through the jsonrpc interface without authentication. This occurs due to improper neutralization of special elements in user input passed to the r2_cmd_str() function. The vulnerability has a high CVSS 4. 0 score of 9. 3, indicating severe impact with network attack vector and no required privileges or user interaction.
AI Analysis
Technical Summary
radare2-mcp versions up to 1.6.0 contain an OS command injection vulnerability (CWE-78) in the r2_cmd_str() function. Remote attackers can bypass command filters by injecting shell metacharacters via parameters in the jsonrpc interface, leading to arbitrary command execution on the host running radare2-mcp. The vulnerability does not require authentication, making it remotely exploitable over the network. The CVSS 4.0 base score is 9.3, reflecting critical severity with high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows remote, unauthenticated attackers to execute arbitrary OS commands on the affected system, potentially leading to full system compromise. This can result in unauthorized access, data manipulation, or disruption of service on hosts running vulnerable radare2-mcp versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict network access to the jsonrpc interface and monitor for suspicious activity related to radare2-mcp usage.
CVE-2026-6942: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78) in radareorg radare2
Description
CVE-2026-6942 is a critical OS command injection vulnerability in radare2-mcp version 1. 6. 0 and earlier. It allows remote attackers to execute arbitrary commands on the host by injecting shell metacharacters through the jsonrpc interface without authentication. This occurs due to improper neutralization of special elements in user input passed to the r2_cmd_str() function. The vulnerability has a high CVSS 4. 0 score of 9. 3, indicating severe impact with network attack vector and no required privileges or user interaction.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
radare2-mcp versions up to 1.6.0 contain an OS command injection vulnerability (CWE-78) in the r2_cmd_str() function. Remote attackers can bypass command filters by injecting shell metacharacters via parameters in the jsonrpc interface, leading to arbitrary command execution on the host running radare2-mcp. The vulnerability does not require authentication, making it remotely exploitable over the network. The CVSS 4.0 base score is 9.3, reflecting critical severity with high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows remote, unauthenticated attackers to execute arbitrary OS commands on the affected system, potentially leading to full system compromise. This can result in unauthorized access, data manipulation, or disruption of service on hosts running vulnerable radare2-mcp versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict network access to the jsonrpc interface and monitor for suspicious activity related to radare2-mcp usage.
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: 4/23/2026, 9:36:08 PM
Last updated: 4/23/2026, 10:26:01 PM
Views: 3
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.