CVE-2026-6942: radare2-mcp <=1.6.0 OS Command Injection via Shell Metacharacter Bypass

Published Apr 23, 2026
·
Updated

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 r2cmdstr(). Attackers can inject shell metacharacters through the jsonrpc interface parameters to achieve remote code execution on the host running radare2-mcp without requiring authentication.

Affected Software

2 affected components
radare2 radare2-mcp<=1.6.0
Radare Radare2 Mcp Server<1.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade radare2-mcp to a version that resolves this vulnerability.

    Fixed in 1.6.0

Event History

Apr 23, 2026
CVE Published
via MITRE·08:58 PM
Data Sourced
via MITRE·08:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-6942?

CVE-2026-6942 is classified as a critical severity vulnerability due to its ability to allow remote execution of arbitrary commands.

2

How do I fix CVE-2026-6942?

To mitigate CVE-2026-6942, upgrade radare2-mcp to version 1.6.1 or later where the vulnerability has been addressed.

3

Who is affected by CVE-2026-6942?

CVE-2026-6942 affects users of radare2-mcp version 1.6.0 and earlier.

4

What type of vulnerability is CVE-2026-6942?

CVE-2026-6942 is an OS command injection vulnerability that allows attackers to execute arbitrary commands.

5

Can CVE-2026-6942 be exploited remotely?

Yes, CVE-2026-6942 can be exploited remotely by attackers to run commands on the vulnerable system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203