CVE-2026-145173: radare2 OS Command Injection
Published 2026-12-04 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.
What to do
- The advisory lists versions through 6.2.6 as affected and does not name a fixed release. Check the references below for a newer version of radare2 or a vendor mitigation.
- Until it is patched, limit who has a local account on systems running radare2.
- Remove the affected interface from untrusted networks, and run the service under a low-privilege account so an injected command has limited reach.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| radare2 | ≤ 6.2.6 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: OS Command Injection
Attacker-controlled input is passed to an operating-system shell, which typically means running arbitrary commands with the privileges of the vulnerable service.
Classified as CWE-78.
Description
radare2 6.1.6 through 6.2.6 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted r2pipe:// map URIs in RPRJ project files. The rprj_maps_restore() function passes these URIs to r_io_open_nomap() unrestricted, so opening a malicious RPRJ file runs commands with the user's privileges.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/radareorg/radare2/commit/e7cd9b81761576e359f9528e1797b7c9f716b19e
- Advisoryhttps://github.com/radareorg/radare2/security/advisories/GHSA-cgg8-43mg-rp6h
- Advisoryhttps://www.vulncheck.com/advisories/radare2-6.1.6-through-6.2.6-os-command-injection-via-rprj-project-map-uris
- Referencehttps://github.com/radareorg/radare2/blob/6.2.6/libr/core/p/newprj/maps.inc.c#L406-L434
- Referencehttps://github.com/radareorg/radare2/issues/27494