CVE-2026-118191
Photo Gallery, Sliders, Proofing and Themes <= 4.5.5 - Authenticated (Custom+) Arbitrary File Deletion via 'task_list' and 'app_config' Parameters
- Severity
- high CVSS 8.1 (v3.1)
- Affects
- Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery · smub
- Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Published
- 13 November 2026 by Wordfence
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.