radare2 OS command injection in RPRJ project map URIs
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Specific setups only
Summary
radare2 is affected by an OS command injection flaw triggered by crafted r2pipe:// map URIs inside RPRJ project files. An attacker who gets a user to open a malicious project file locally, without logging in, can run arbitrary commands with that user's privileges and gain full control over confidentiality, integrity, and availability on the system.
Written by a model
Original 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.
Who should check
Anyone running radare2 6.1.6 through 6.2.6 who opens RPRJ project files from untrusted sources.
“radare2 6.1.6 to 6.2.2: the same code path exists”
What to do
Check whether your setup matches what the bug needs.
radare2 6.2.4 to 6.2.6: opening the file with r2 is enough radare2 6.1.6 to 6.2.2: the victim must explicitly run prj open on the untrusted project Not exploitable when radare2 runs under the global sandbox (r2 -S) prj.sandbox defaults to falseApply the patch listed under Evidence.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-145173 (radare2 6.1.6 through 6.2.6 OS Command Injection via RPRJ Project Map URIs), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-145173 (entry last updated 2026-12-04):
Affected:
- radareorg radare2: from 6.1.6, through 6.2.6
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- radare2 6.2.4 to 6.2.6: opening the file with r2 is enough (source: https://github.com/radareorg/radare2/security/advisories/GHSA-cgg8-43mg-rp6h)
- radare2 6.1.6 to 6.2.2: the victim must explicitly run prj open on the untrusted project (source: https://github.com/radareorg/radare2/security/advisories/GHSA-cgg8-43mg-rp6h)
- Not exploitable when radare2 runs under the global sandbox (r2 -S) (source: https://github.com/radareorg/radare2/security/advisories/GHSA-cgg8-43mg-rp6h)
- prj.sandbox defaults to false (source: https://github.com/radareorg/radare2/security/advisories/GHSA-cgg8-43mg-rp6h)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-145173 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-145173 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/radareorg/radare2/security/advisories/GHSA-cgg8-43mg-rp6h
- https://github.com/radareorg/radare2/commit/e7cd9b81761576e359f9528e1797b7c9f716b19e
- https://github.com/radareorg/radare2/issues/27494
- https://github.com/radareorg/radare2/blob/6.2.6/libr/core/p/newprj/maps.inc.c#L406-L434
- https://www.vulncheck.com/advisories/radare2-6.1.6-through-6.2.6-os-command-injection-via-rprj-project-map-uris
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-145173
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-145173"}.Affected versions
- radareorg radare2From 6.1.6 · through 6.2.6
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.5/10CVSS 8.5
- No patch0/5No signal
What would change the score
- Would score about 64 if added to CISA KEV
- Would score about 59 if CISA's SSVC rates exploitation active
- Would score about 24 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 7
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · radareorg/radare2 · Advisory GHSA-cgg8-43mg-rp6h |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-145173 |
| Record | NVD · CVE-2026-145173 |
| Other links 4 | |
| Patch | GitHub · radareorg/radare2 · Commit e7cd9b81 |
| Report | GitHub · radareorg/radare2 · Issue #27494 |
| Repository | GitHub · radareorg/radare2 · libr/core/p/newprj/maps.inc.c · L406-L434 |
| Link | vulncheck.com · advisories/radare2-6.1.6-through-6.2.6-os-command-injection-via-rprj-project-map-uris |
Questions about CVE-2026-145173
Is CVE-2026-145173 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
Crafted RPRJ project map URIs can make radare2 run an arbitrary OS command with the privileges of the r2 process.
Source: github.com
Which versions are affected by CVE-2026-145173?
radare2: from 6.1.6 through 6.2.6.
Source: cve.now feed data
Am I affected, and how do I check?
radare2 6.1.6 through 6.2.6 is affected. In 6.2.4 to 6.2.6, simply running r2 on such a file is enough; in 6.1.6 to 6.2.2, the untrusted project must be explicitly opened with prj open. Check your installed radare2 version and whether prj.sandbox is set, which defaults to false. Running under the global sandbox (r2 -S) denies command execution.
Source: github.com
How do I fix CVE-2026-145173?
The facts name no fixed version or vendor patch id, so no upgrade target is given. Until a fix is published, avoid opening untrusted RPRJ project files, and run radare2 under the global sandbox (r2 -S), which denies command execution.
Source: github.com
Related
- CVE-2026-108387radare2: Remote code execution when loading Pebble/SMD binary
- CVE-2026-112077radareorg radare2 HTTP Sandbox Policy rtr_http.inc.c r_core_cmd_str_pipe protection mechanism
- CVE-2026-81885radare2: Infinite relocation-chain loop causes denial of service in radare2 NE parser
- CVE-2026-81886radare2: Uncontrolled memory allocation in radare2 dmp64 parser
- CVE-2026-81880radare2: Uncontrolled resource consumption in radare2 PEF loader
- CVE-2026-81879radare2: Heap out-of-bounds read in radare2 ELF PN_XNUM handling
No corrections so far. Something wrong on this page? Report an error.