CVE-2026-6942: radare2-mcp version 1.6.0 and earlier contains an os command injection vulnerability that allows remote attack
CVE-2026-6942 is a critical-severity flaw (CVSS 9.8) affecting radare2 mcp server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.9% (top 20%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-04-23 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6942?
radare2 mcp server: upgrade to 1.7.0. Exact commands for each OS are on this page.
Is CVE-2026-6942 being exploited?
CVE-2026-6942 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6942 affect?
CVE-2026-6942 affects radare2 mcp server. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2026-6942?
Priority 67/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action