CVE-2026-6942 radare2-mcp <=1.6.0 OS Command Injection via Shell Metacharacter Bypass
CriticalCVSS 9.3
EPSS 1.9%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| radare2 mcp server | < 1.7.0 | 1.7.0 | Fixed |
| radareorg radare2-mcp | <= 1.6.0 | after 1.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| radareorg radare2-mcp | <= 1.6.0 | No fix listed |
| radare2 mcp server | < 1.7.0 | 1.7.0 |
References
- Pull Request exploit issue-tracking
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-25314 third-party-advisory