RCE in Radare Radare2 Mcp Server

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.030 (87.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 87.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-6942: rose from 0.019 to 0.030.

EPSS over last 30 days · oldest: 0.019 · newest: 0.030 · change: +0.011

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-6942?
CVE-2026-6942 is a critical-severity vulnerability in Radare Radare2 Mcp Server, classified under OS Command Injection. CVSS score: 9.8/10. Published 2026-04-23.
How severe is CVE-2026-6942?
Critical severity. CVSS v3 base score is 9.8 out of 10.