CVE-2026-6940: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in radareorg radare2
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.
AI Analysis
Technical Summary
CVE-2026-6940 is a path traversal vulnerability (CWE-22) in radare2 before version 6.1.4. It occurs during project deletion, where the software fails to properly restrict pathname inputs to the configured project root directory. By crafting absolute paths to project marker files outside the intended directory, a local attacker can cause recursive deletion of arbitrary directories. This results in integrity and availability impacts due to unauthorized file system modifications.
Potential Impact
An attacker with local access can exploit this vulnerability to delete arbitrary directories recursively on the system where radare2 is running. The deletion occurs with the permissions of the radare2 process, potentially causing significant data loss and service disruption. There is no indication of confidentiality impact or remote exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running radare2 with elevated privileges and restrict local access to trusted users only. Monitor for vendor updates regarding a patch or official remediation.
CVE-2026-6940: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in radareorg radare2
Description
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.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6940 is a path traversal vulnerability (CWE-22) in radare2 before version 6.1.4. It occurs during project deletion, where the software fails to properly restrict pathname inputs to the configured project root directory. By crafting absolute paths to project marker files outside the intended directory, a local attacker can cause recursive deletion of arbitrary directories. This results in integrity and availability impacts due to unauthorized file system modifications.
Potential Impact
An attacker with local access can exploit this vulnerability to delete arbitrary directories recursively on the system where radare2 is running. The deletion occurs with the permissions of the radare2 process, potentially causing significant data loss and service disruption. There is no indication of confidentiality impact or remote exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid running radare2 with elevated privileges and restrict local access to trusted users only. Monitor for vendor updates regarding a patch or official remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-23T20:00:58.248Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ea89bd87115cfb685d0b0f
Added to database: 04/23/2026, 21:06:05 UTC
Last enriched: 07/15/2026, 09:57:48 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 89
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.