Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112077 Overview
CVE-2026-112077 is a protection mechanism failure [CWE-693] affecting radare2 versions 6.2.0 and 6.2.2. The flaw resides in the r_core_cmd_str_pipe function within libr/core/rtr_http.inc.c, part of the HTTP Sandbox Policy Handler component. When the embedded HTTP server processes commands via the /cmd endpoint, it enables cfg.sandbox temporarily, but cfg.sandbox.grain defaults to all. This default retains dangerous capabilities such as process execution, allowing commands received over HTTP to spawn processes despite the sandbox being enabled. Project maintainers have clarified that exploitation requires the HTTP server to be started and reachable by an untrusted party, so it is not a remote vulnerability by default.
Critical Impact
Attackers reaching an exposed radare2 HTTP server can bypass the intended sandbox and execute arbitrary commands, defeating the protection users expect from http.sandbox=true.
Affected Products
- radare2 version 6.2.0
- radare2 version 6.2.2
- Component: HTTP Sandbox Policy Handler (libr/core/rtr_http.inc.c)
Discovery Timeline
- 2026-10-19 - CVE-2026-112077 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-112077
Vulnerability Analysis
The weakness is categorized under [CWE-693] Protection Mechanism Failure. radare2's HTTP server advertises a sandbox control (http.sandbox) that is enabled by default. When clients submit commands to the /cmd endpoint, the server temporarily toggles cfg.sandbox to restrict operations. However, the companion setting cfg.sandbox.grain controls which categories of operations the sandbox actually restricts, and its default value all leaves every capability permitted, including process execution.
The result is a sandbox that is nominally active but functionally permissive. Attackers who can reach the HTTP command endpoint can issue radare2 commands that spawn child processes or perform other operations the user believed were blocked.
Root Cause
The root cause is a mismatch between the enabled sandbox state and its granular policy. The sandbox grain configuration was not aligned with the sandbox's security intent, so toggling http.sandbox=true did not translate into enforced restrictions on process creation or similar privileged operations.
Attack Vector
Exploitation requires the operator to start the radare2 HTTP server and expose it on a network reachable by the attacker. The attacker then submits crafted commands to the /cmd endpoint. Because the HTTP server must be running and accessible, the pre-requisite is reflected in the CVSS vector with high attack complexity. There is no authentication requirement once the endpoint is reachable.
// Patch excerpt from libr/core/rtr.c introducing HttpSandboxPolicy
typedef struct {
bool enabled;
bool configured;
int grain;
} HttpSandboxPolicy;
typedef struct {
RCore *core;
int launch;
int browse;
char *path;
HttpSandboxPolicy policy;
} HttpThread;
// Source: https://github.com/radareorg/radare2/commit/18fd12efa98a7d1977de7bdd379d8a848777b90f
// Patch excerpt from libr/core/cconfig.c clarifying the http.sandbox semantics
- SETB ("http.sandbox", "true", "sandbox the HTTP server");
+ SETB ("http.sandbox", "true", "run HTTP commands with restricted permissions (set before starting the server)");
// Source: https://github.com/radareorg/radare2/commit/18fd12efa98a7d1977de7bdd379d8a848777b90f
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-112077
Indicators of Compromise
- Unexpected radare2 HTTP server processes listening on network interfaces, particularly on ports in the configured http.port/http.maxport range up to 9999.
- HTTP requests to the /cmd endpoint originating from untrusted sources, especially commands that invoke shell execution primitives such as ! or .!.
- Child processes spawned by the radare2 binary during active HTTP sessions where the operator expected sandboxed behavior.
Detection Strategies
- Inventory hosts running radare2 and identify versions 6.2.0 or 6.2.2 using endpoint telemetry or package queries.
- Monitor process creation events where radare2 is the parent process, correlating with inbound HTTP connections to the server port.
- Inspect radare2 configuration state at runtime to confirm the values of http.sandbox, cfg.sandbox, and cfg.sandbox.grain.
Monitoring Recommendations
- Alert on network listeners opened by the radare2 process and flag any binding to non-loopback interfaces.
- Capture HTTP access logs for the radare2 server and review /cmd requests for suspicious payloads.
- Baseline normal reverse engineering workflows so that process spawns from the HTTP context trigger high-priority alerts.
How to Mitigate CVE-2026-112077
Immediate Actions Required
- Upgrade radare2 to version 6.2.4 or later, which contains commit 18fd12efa98a7d1977de7bdd379d8a848777b90f.
- Stop any running radare2 HTTP servers until the upgrade is applied.
- Restrict the radare2 HTTP server to the loopback interface and never expose it to untrusted networks.
Patch Information
The fix is tracked in GitHub Issue #26861 and committed as 18fd12e. The patch introduces an HttpSandboxPolicy structure that enforces sandbox restrictions across HTTP commands and corrects the misleading http.sandbox description. The fixed release is available at radare2 6.2.4. Additional details are published at VulDB CVE-2026-112077.
Workarounds
- Do not start the radare2 HTTP server (=h) on systems reachable by untrusted users.
- If the HTTP server is required, bind it to 127.0.0.1 and front it with an authenticated reverse proxy or SSH tunnel.
- Set cfg.sandbox.grain to a restrictive value such as none before starting the HTTP server to deny high-risk capabilities like exec.
# Configuration example: restrict sandbox grain before launching the HTTP server
r2 -e cfg.sandbox.grain=none -e http.sandbox=true -c '=h 9090' target_binary
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

