Skip to main content

radare2 CVE-2026-6940

| EUVDEUVD-2026-25301 MEDIUM
Path Traversal (CWE-22)
2026-04-23 VulnCheck GHSA-x2x5-gj4j-p6qw
6.9
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.1 HIGH

Local vector only; no privileges required to run radare2; user must perform deletion action (UI:R); purely destructive with no confidentiality impact and unchanged scope.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

9
Source Code Evidence Fetched
Jul 24, 2026 - 03:42 vuln.today
Analysis Generated
Jul 24, 2026 - 03:42 vuln.today
PoC Detected
Apr 27, 2026 - 14:56 vuln.today
Public exploit code
Patch released
Apr 27, 2026 - 14:56 nvd
Patch available
Patch available
Apr 23, 2026 - 22:16 EUVD
Severity Changed
Apr 23, 2026 - 21:27 NVD
HIGH MEDIUM
CVSS changed
Apr 23, 2026 - 21:27 NVD
7.1 (HIGH) 6.9 (MEDIUM)
EUVD ID Assigned
Apr 23, 2026 - 21:00 euvd
EUVD-2026-25301
CVE Published
Apr 23, 2026 - 20:26 nvd
MEDIUM 6.9

DescriptionCVE.org

radare2 prior to 6.1.4 contains a path traversal vulnerability in project deletion that allows local attackers to recursively delete arbitrary directories by supplying absolute paths that escape the configured dir.projects root directory. Attackers can craft absolute paths to project marker files outside the project storage boundary to cause recursive deletion of attacker-chosen directories with permissions of the radare2 process, resulting in integrity and availability loss.

AnalysisAI

Path traversal in radare2's project deletion function (r_core_project_delete in libr/core/project.c) allows a local attacker to cause recursive deletion of arbitrary directories by supplying crafted absolute project paths that escape the configured dir.projects root. All versions prior to 6.1.4 are affected. An attacker who controls a project file path can cause radare2 - running with the victim's permissions - to wipe arbitrary directories, resulting in significant integrity and availability impact. No public exploit identified at time of analysis for weaponized in-the-wild use; however, a publicly available exploit (POC) exists via the upstream GitHub PR, and SSVC rates technical impact as total despite non-automatable exploitation.

Technical ContextAI

radare2 is a widely-used open-source reverse engineering framework (CPE: cpe:2.3:a:radareorg:radare2:*:*:*:*:*:*:*:*). The vulnerability is a CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) flaw in the project management subsystem. The root cause is the absence of a boundary check in r_core_project_delete: before the fix, the function called r_file_abspath() to resolve the supplied project path but never verified that the resolved path resided within the dir.projects root. The patch (PR #25830) introduces project_path_is_within_projects_dir(), which resolves both dir.projects and the target path to absolute forms, appends the platform path separator, and uses r_str_startswith() to confirm containment before any deletion proceeds. The diff also adds regression tests for both the rejection case (absolute path outside dir.projects) and the acceptance case (absolute path inside dir.projects).

RemediationAI

Upgrade to radare2 6.1.4 or later, which introduces the project_path_is_within_projects_dir() boundary check in libr/core/project.c; the upstream fix is in GitHub PR #25830 (https://github.com/radareorg/radare2/pull/25830). If upgrading immediately is not possible, the primary workaround is to avoid loading or deleting any radare2 project files from untrusted sources - never run the P- command against project files supplied by third parties or found in shared or writable directories. On multi-user systems where radare2 is available to multiple accounts, restrict the tool to trusted users via filesystem permissions or sudo policy to limit who can trigger project deletion. Note that restricting dir.projects via configuration alone is insufficient as a workaround, since the vulnerability exists precisely because that boundary is not enforced in vulnerable versions.

CVE-2023-46570 CRITICAL POC
9.8 Oct 28

An out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32 function of libr/arch/p/nds32/nds32-dis.h

CVE-2023-46569 CRITICAL POC
9.8 Oct 28

An out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32_fpu function of libr/arch/p/nds32/nds32-d

CVE-2023-4322 CRITICAL POC
9.8 Aug 14

Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.9.0. Rated critical severity (CVSS 9.8), th

CVE-2026-6942 CRITICAL POC
9.3 Apr 23

OS command injection in radare2-mcp (the Model Context Protocol server that bridges the radare2 reverse-engineering fram

CVE-2022-1899 CRITICAL POC
9.1 May 26

Out-of-bounds Read in GitHub repository radareorg/radare2 prior to 5.7.0. Rated critical severity (CVSS 9.1), this vulne

CVE-2022-1297 CRITICAL POC
9.1 Apr 11

Out-of-bounds Read in r_bin_ne_get_entrypoints function in GitHub repository radareorg/radare2 prior to 5.6.8. Rated cri

CVE-2022-1296 CRITICAL POC
9.1 Apr 11

Out-of-bounds read in `r_bin_ne_get_relocs` function in GitHub repository radareorg/radare2 prior to 5.6.8. Rated critic

CVE-2023-5686 HIGH POC
8.8 Oct 20

Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.9.0. Rated high severity (CVSS 8.8), this v

CVE-2026-40499 HIGH POC
8.4 Apr 15

Command injection in radare2's PDB parser (versions <6.1.4) enables arbitrary command execution when analysts process ma

CVE-2026-40517 HIGH POC
8.4 Apr 22

Command injection in radare2 PDB parser (versions before 6.1.4) enables arbitrary OS command execution when users analyz

CVE-2017-16357 HIGH POC
7.8 Nov 01

In radare 2.0.1, a memory corruption vulnerability exists in store_versioninfo_gnu_verdef() and store_versioninfo_gnu_ve

CVE-2017-15932 HIGH POC
7.8 Oct 27

In radare2 2.0.1, an integer exception (negative number leading to an invalid memory access) exists in store_versioninfo

Share

CVE-2026-6940 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy