CVE-2026-6942 PUBLISHED

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

Assigner: VulnCheck
Reserved: 23.04.2026 Published: 23.04.2026 Updated: 23.04.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor radareorg
Product radare2
Versions Default: unaffected
  • unaffected from 0 to 482cde6500009112a8bc0b3fa8d2ef6180581ec0 (excl.)
  • affected from 0 to 1.6.0 (excl.)

Credits

  • Manthan Ghasadiya finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78) CWE