CVE-2026-118191
Deferred Deferred - Pending Action

Arbitrary File Deletion in NextGEN Gallery WordPress Plugin

Vulnerability report for CVE-2026-118191, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery From 0 (inc) to 4.5.5 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the NextGEN Gallery WordPress plugin allows authenticated attackers with custom-level access or higher to delete arbitrary files on the server due to insufficient file path validation in the handle_job function. This can lead to remote code execution if critical files like wp-config.php are deleted.

Detection Guidance

Check for unauthorized file deletions or modifications in WordPress directories, especially in the NextGEN Gallery plugin folder. Review server logs for suspicious activity related to the handle_job function or file deletion operations.

Impact Analysis

An attacker could exploit this to delete important files on your server, potentially causing data loss, website downtime, or enabling further attacks like remote code execution. Administrators are at highest risk as they have default access to the vulnerable feature.

Mitigation Strategies

Update the NextGEN Gallery plugin to the latest version beyond 4.5.5. If an update is unavailable, consider disabling the plugin temporarily. Restrict file deletion permissions and audit user roles with custom-level access.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-118191. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...