Path Traversal in Smub Photo Gallery, Sliders, Proofing And Themes – Nextgen Gallery
CVE-2026-118191
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 class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 63.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/b4e01402-f866-43b9-9fef-7e9b1…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Con…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Con…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Con…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.3/src/Lightroom/Con…
- plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/Lightroo…
- plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/Lightroo…