CVE-2026-6942

CRITICAL

radare2-mcp <=1.6.0 OS Command Injection via Shell Metacharacter Bypass

Title source: cna

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.

Scores

CVSS v3 9.8
EPSS 0.0027
EPSS Percentile 50.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (2)
radareorg/radare2 < 1.6.0
radareorg/radare2 < 482cde6500009112a8bc0b3fa8d2ef6180581ec0
Published Apr 23, 2026
Tracked Since Apr 24, 2026