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

No history.

Information

Published : 2026-04-23 21:16

Updated : 2026-06-17 11:01


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')