CVE-2025-7641 Assistant for NextGEN Gallery <= 1.0.9 - Unauthenticated Arbitrary Directory Deletion
Unauthenticated attackers can delete arbitrary directories via path traversal in the REST API, causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-7641?
CVE-2025-7641 is a high-severity path traversal vulnerability in 48hmorris Assistant for NextGEN Gallery, published on 15 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Assistant for NextGEN Gallery plugin for WordPress is vulnerable to arbitrary directory deletion due to insufficient file path validation in the /wp-json/nextgenassistant/v1.0.0/control REST endpoint in all versions up to, and including, 1.0.9. This makes it possible for unauthenticated attackers to delete arbitrary directories on the server, which can cause a complete loss of availability.
Weakness: CWE-22
Which versions are affected by CVE-2025-7641?
How do I fix CVE-2025-7641?
No fix has been published for CVE-2025-7641 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-2025-7641 being exploited?
There is no known exploitation of CVE-2025-7641 in the wild and no public exploit code.
Sources
Also known as GHSA-3474-jcv8-ww27.