Radare2 Path Traversal Flaw: Local Attackers Can Delete Arbitrary Directories
The National Vulnerability Database has disclosed CVE-2026-6940, a critical path traversal vulnerability affecting radare2 versions prior to 6.1.4. This flaw allows local attackers with UI interaction to recursively delete arbitrary directories by manipulating project deletion. By crafting absolute paths that escape the intended project directory, an attacker can cause the tool to delete directories outside its scope, leveraging the permissions of the running radare2 process.
This vulnerability, classified as HIGH severity with a CVSS score of 7.1, presents a significant risk to system integrity and availability. While affected products beyond the radare2 tool itself are not specified, any environment utilizing this reverse engineering framework could be at risk. The CWE-22 classification highlights the classic directory traversal nature of the exploit, where input validation failures lead to unintended file system access.
What This Means For You
- If your organization uses the radare2 framework, immediately review your version. For any installation running radare2 prior to 6.1.4, prioritize patching or upgrading to the latest version to mitigate the risk of local privilege escalation leading to data destruction. Audit logs for unusual directory deletion activities associated with the radare2 process.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-6940 - Radare2 Arbitrary Directory Deletion via Path Traversal
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-6940 | Vulnerability | CVE-2026-6940 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 24, 2026 at 00:16 UTC |
This content was AI-rewritten and enriched by Shimi's Cyber World based on the original source. All intellectual property rights remain with the original author.
Believe this infringes your rights? Submit a takedown request.