CVE-2026-6942

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductRadare2 Mcp Server
PublishedApr 23, 2026
First seenApr 23, 2026

How to fix

Affected products

ProductAffected versionsFixed in
radare radare2_mcp_serverv < 1.7.01.7.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.