RCE in Radare Radare2 Mcp Server
CVE-2026-6942
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.019 (78.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Radare Radare2_mcp_server
- Radareorg Radare2 — versions 0
- Radareorg Radare2-mcp — versions 0
Weakness classification (CWE)
References
- Pull Request (issue-tracking, Exploit, technical-description, exploit, Issue Tracking)
- Patch Commit (issue-tracking, Patch, patch)
- disclosure@vulncheck.com (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-6942?
- CVE-2026-6942 is a critical-severity vulnerability in Radare Radare2 Mcp Server, classified under OS Command Injection. CVSS score: 9.8/10. Published 2026-04-23.
- How severe is CVE-2026-6942?
- Critical severity. CVSS v3 base score is 9.8 out of 10.