CVE-2026-6940: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in radareorg radare2
CVE-2026-6940 is a path traversal vulnerability in radare2 versions prior to 6. 1. 4. It allows local attackers to supply absolute paths that escape the intended project directory, enabling recursive deletion of arbitrary directories with the permissions of the radare2 process. This can lead to loss of data integrity and availability. The vulnerability arises during project deletion operations where pathname restrictions are improperly enforced.
AI Analysis
Technical Summary
The vulnerability in radare2 before version 6.1.4 involves improper limitation of pathnames (CWE-22) during project deletion. Local attackers can craft absolute paths to project marker files outside the configured project storage root directory. By doing so, they can cause recursive deletion of directories chosen by the attacker, leveraging the permissions of the radare2 process. This results in potential integrity and availability impacts due to unintended file system modifications.
Potential Impact
Exploitation allows local attackers to delete arbitrary directories recursively, potentially causing significant data loss or service disruption. The attack requires local access and user interaction but does not require elevated privileges beyond those of the radare2 process. The impact includes loss of data integrity and availability within the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently provided. Until a patch is available, restrict local access to systems running vulnerable versions of radare2 and avoid running radare2 with elevated privileges. Monitor for vendor updates regarding an official fix.
CVE-2026-6940: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in radareorg radare2
Description
CVE-2026-6940 is a path traversal vulnerability in radare2 versions prior to 6. 1. 4. It allows local attackers to supply absolute paths that escape the intended project directory, enabling recursive deletion of arbitrary directories with the permissions of the radare2 process. This can lead to loss of data integrity and availability. The vulnerability arises during project deletion operations where pathname restrictions are improperly enforced.
CVSS v4.0
Score 6.9medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in radare2 before version 6.1.4 involves improper limitation of pathnames (CWE-22) during project deletion. Local attackers can craft absolute paths to project marker files outside the configured project storage root directory. By doing so, they can cause recursive deletion of directories chosen by the attacker, leveraging the permissions of the radare2 process. This results in potential integrity and availability impacts due to unintended file system modifications.
Potential Impact
Exploitation allows local attackers to delete arbitrary directories recursively, potentially causing significant data loss or service disruption. The attack requires local access and user interaction but does not require elevated privileges beyond those of the radare2 process. The impact includes loss of data integrity and availability within the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently provided. Until a patch is available, restrict local access to systems running vulnerable versions of radare2 and avoid running radare2 with elevated privileges. Monitor for vendor updates regarding an official fix.
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: 4/23/2026, 9:06:05 PM
Last enriched: 5/1/2026, 8:49:44 PM
Last updated: 6/7/2026, 7:52:24 AM
Views: 63
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.