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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-23 · Modified: 2026-10-29
- Record: https://cvemate.com/vulnerability/CVE-2026-6942 · JSON: https://cvemate.com/vulnerability/CVE-2026-6942/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.158%, percentile 82.803%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- radare radare2\_mcp\_server: \< 1.7.0
- radareorg radare2-mcp: ≤ 1.6.0

## References

- <https://github.com/radareorg/radare2-mcp/issues/45>
- <https://github.com/radareorg/radare2-mcp/commit/482cde6500009112a8bc0b3fa8d2ef6180581ec0>
- <https://www.vulncheck.com/advisories/radare2-mcp-os-command-injection-via-shell-metacharacter-bypass>

---

Data as of 2026-12-05T09:43:15.624Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
