CVE-2026-6940 radare2 < 6.1.4 Project Deletion Path Traversal Directory Deletion

Medium 6.9 Published Updated

Local attackers can exploit path traversal in radare2 project deletion to recursively delete arbitrary directories, causing data loss and service disruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-6940?

CVE-2026-6940 is a medium-severity path traversal vulnerability in Radare Radare2, published on 23 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-6940?

It affects 1 product.

Products include Radare Radare2.

How do I fix CVE-2026-6940?

No fix has been published for CVE-2026-6940 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-6940 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6940 exists.

All Radare Radare2 vulnerabilities

Sources

Also known as GHSA-x2x5-gj4j-p6qw, UBUNTU-CVE-2026-6940.

Is CVE-2026-6940 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free