Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-7641: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in 48hmorris Assistant for NextGEN Gallery

0
High
VulnerabilityCVE-2025-7641cvecve-2025-7641cwe-22
Published: Fri Aug 15 2025 (08/15/2025, 08:25:38 UTC)
Source: CVE Database V5
Vendor/Project: 48hmorris
Product: Assistant for NextGEN Gallery

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 16:19:53 UTC

Technical Analysis

CVE-2025-7641 is a path traversal vulnerability classified under CWE-22 found in the Assistant for NextGEN Gallery plugin for WordPress, affecting all versions up to and including 1.0.9. The vulnerability exists in the /wp-json/nextgenassistant/v1.0.0/control REST API endpoint, where insufficient validation of file paths allows an attacker to manipulate directory paths. This flaw enables unauthenticated remote attackers to delete arbitrary directories on the hosting server. The deletion capability arises because the plugin does not properly restrict or sanitize input paths, allowing traversal outside intended directories. The impact is a direct loss of availability, as critical files or directories can be removed, potentially rendering the website or server services inoperable. The vulnerability requires no privileges or user interaction, increasing its risk profile. Although no public exploits have been reported yet, the vulnerability’s characteristics make it a prime target for automated exploitation. The CVSS v3.1 score of 7.5 reflects the network attack vector, low attack complexity, no privileges required, no user interaction, and a high impact on availability but no impact on confidentiality or integrity. This vulnerability highlights the importance of rigorous input validation in REST API endpoints, especially in widely used WordPress plugins.

Potential Impact

The primary impact of CVE-2025-7641 is a complete loss of availability of affected WordPress sites using the Assistant for NextGEN Gallery plugin. By deleting arbitrary directories, attackers can remove critical website files, plugin data, or even server-level directories, causing service outages and potential data loss. This can disrupt business operations, damage reputation, and incur recovery costs. Since exploitation requires no authentication or user interaction, the attack surface is broad and accessible to any remote attacker scanning for vulnerable sites. The vulnerability could be leveraged in large-scale automated attacks or targeted campaigns against high-value WordPress deployments. Organizations relying on this plugin for media gallery management face increased risk of denial-of-service conditions and operational downtime. Additionally, recovery may be complicated if backups are not current or comprehensive. The lack of known exploits in the wild currently reduces immediate risk but does not diminish the urgency of remediation.

Mitigation Recommendations

1. Immediate upgrade or patching: Monitor the vendor for an official patch or update beyond version 1.0.9 that addresses this vulnerability and apply it promptly. 2. If no patch is available, disable or remove the Assistant for NextGEN Gallery plugin to eliminate the attack vector. 3. Implement web application firewall (WAF) rules to detect and block suspicious requests targeting the /wp-json/nextgenassistant/v1.0.0/control endpoint, especially those containing path traversal patterns (e.g., ../ sequences). 4. Restrict access to the REST API endpoint by IP whitelisting or authentication mechanisms where feasible. 5. Regularly back up website files and server data to enable rapid recovery from deletion attacks. 6. Conduct security audits and penetration testing focused on REST API endpoints to identify similar path traversal or input validation issues. 7. Monitor logs for unusual deletion activity or unauthorized access attempts to the vulnerable endpoint. 8. Educate site administrators on the risks of installing unverified plugins and the importance of timely updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-07-14T14:52:05.902Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 689ef436ad5a09ad00697334

Added to database: 8/15/2025, 8:47:50 AM

Last enriched: 2/26/2026, 4:19:53 PM

Last updated: 3/25/2026, 1:42:38 AM

Views: 92

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses