What’s Vulnerable › Vulnerabilities
CVE-2026-6942: radare2-mcp <=1.6.0 OS Command Injection via Shell Metacharacter Bypass
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-23 · updated 2026-10-29
- Weakness: CWE-78
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.
Affected products
- radareorg radare2-mcp: before 1.7.0 — fixed in 1.7.0
- radareorg radare2-mcp: through 1.6.0
How to fix
Upgrade to a fixed version: radareorg radare2-mcp 1.7.0. Check the vendor advisory for mitigations.
References
- https://github.com/radareorg/radare2-mcp/commit/482cde6500009112a8bc0b3fa8d2ef6180581ec0
- https://github.com/radareorg/radare2-mcp/issues/45
- https://www.vulncheck.com/advisories/radare2-mcp-os-command-injection-via-shell-metacharacter-bypass
Get alerted when CVE-2026-6942 or the next vulnerability affects your stack