CVE-2026-6942 | radareorg radare2 up to 1.5.x Jsonrpc Interface r2_cmd_str os command injection (Issue 45)
VulDBArchived Apr 24, 2026✓ Full text saved
A vulnerability classified as critical was found in radareorg radare2 up to 1.5.x . Affected is the function r2_cmd_str of the component Jsonrpc Interface . The manipulation results in os command injection. This vulnerability is identified as CVE-2026-6942 . The attack can be executed remotely. There is not any exploit available. Upgrading the affected component is advised.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-359227 · CVE-2026-6942 · ISSUE 45
RADAREORG RADARE2 UP TO 1.5.X JSONRPC INTERFACE R2_CMD_STR OS COMMAND INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
8.4 $0-$5k 3.83+
Summaryinfo
A vulnerability, which was classified as critical, has been found in radareorg radare2 up to 1.5.x. Affected by this vulnerability is the function r2_cmd_str of the component Jsonrpc Interface. This manipulation causes os command injection. This vulnerability is tracked as CVE-2026-6942. The attack is possible to be carried out remotely. No exploit exists. It is advisable to upgrade the affected component.
Detailsinfo
A vulnerability classified as critical was found in radareorg radare2 up to 1.5.x. Affected by this vulnerability is the function r2_cmd_str of the component Jsonrpc Interface. The manipulation with an unknown input leads to a os command injection vulnerability. The CWE definition for the vulnerability is CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was disclosed by Manthan Ghasadiya as 45. It is possible to read the advisory at github.com. This vulnerability is known as CVE-2026-6942 since 04/23/2026. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1202 according to MITRE ATT&CK.
Upgrading to version 1.6.0 eliminates this vulnerability. Applying the patch 482cde6500009112a8bc0b3fa8d2ef6180581ec0 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Type
Programming Tool Software
Vendor
radareorg
Name
radare2
Version
1.0
1.1
1.2
1.3
1.4
1.5
License
open-source
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 9.8
CNA Vector (VulnCheck): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Os command injection
CWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: radare2 1.6.0
Patch: 482cde6500009112a8bc0b3fa8d2ef6180581ec0
Timelineinfo
04/23/2026 Advisory disclosed
04/23/2026 +0 days CVE reserved
04/23/2026 +0 days VulDB entry created
04/23/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: 45
Researcher: Manthan Ghasadiya
Status: Confirmed
CVE: CVE-2026-6942 (🔒)
GCVE (CVE): GCVE-0-2026-6942
GCVE (VulDB): GCVE-100-359227
Entryinfo
Created: 04/23/2026 23:34
Changes: 04/23/2026 23:34 (82)
Complete: 🔍
Cache ID: 99:F10:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸