CVE Catalog

CVE-2026-118191

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.96%

63th percentile - higher than 63% of all known CVEs

Summary

The NextGEN Gallery plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the handle_job function in all versions up to and including 4.5.5. Authenticated attackers with custom-level access and above can delete arbitrary files on the server, which can lead to remote code execution when the right file is deleted (e.g. wp-config.php). The required 'NextGEN Manage gallery' capability is granted to administrators by default but can be delegated to lower-privileged roles.

Risk Assessment

An attacker with gallery management permissions can delete critical application files, causing outage or remote code execution. The risk increases if the capability is delegated to less trusted roles.

Recommendation

Update the plugin to a version later than 4.5.5 and restrict the 'NextGEN Manage gallery' capability to trusted administrators only.

Other vulnerabilities in NextGEN Gallery

See all
Original NVD description (English source)

The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the handle_job function in all versions up to, and including, 4.5.5 This makes it possible for authenticated attackers, with custom-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The 'NextGEN Manage gallery' capability required to reach the vulnerable endpoint is granted to Administrators by default but can be delegated to lower-privileged roles via the plugin's Roles screen.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS