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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:radare:radare2_mcp_server:*:*:*:*:*:*:*:*

History

26 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) radare2-mcp versión 1.6.0 y anteriores contiene una vulnerabilidad de inyección de comandos del sistema operativo que permite a atacantes remotos ejecutar comandos arbitrarios eludiendo el filtro de comandos a través de metacaracteres de shell en entradas controladas por el usuario pasadas a r2_cmd_str(). Los atacantes pueden inyectar metacaracteres de shell a través de los parámetros de la interfaz jsonrpc para lograr ejecución remota de código en el host que ejecuta radare2-mcp sin requerir autenticación.

04 Jun 2026, 14:19

Type Values Removed Values Added
CPE cpe:2.3:a:radare:radare2_mcp_server:*:*:*:*:*:*:*:*
First Time Radare radare2 Mcp Server
Radare
References () https://github.com/radareorg/radare2-mcp/commit/482cde6500009112a8bc0b3fa8d2ef6180581ec0 - () https://github.com/radareorg/radare2-mcp/commit/482cde6500009112a8bc0b3fa8d2ef6180581ec0 - Patch
References () https://github.com/radareorg/radare2-mcp/issues/45 - () https://github.com/radareorg/radare2-mcp/issues/45 - Exploit, Issue Tracking
References () https://www.vulncheck.com/advisories/radare2-mcp-os-command-injection-via-shell-metacharacter-bypass - () https://www.vulncheck.com/advisories/radare2-mcp-os-command-injection-via-shell-metacharacter-bypass - Third Party Advisory

29 Apr 2026, 20:16

Type Values Removed Values Added
CWE CWE-78

24 Apr 2026, 16:16

Type Values Removed Values Added
CWE CWE-78

23 Apr 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-23 21:16

Updated : 2026-10-29 21:17


NVD link : CVE-2026-6942

Mitre link : CVE-2026-6942

CVE.ORG link : CVE-2026-6942


JSON object : View

Products Affected

radare

  • radare2_mcp_server
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')