Arbitrary File Deletion in NextGEN Gallery Plugin for WordPress
CVE-2026-118191

8.1HIGH

What is CVE-2026-118191?

The NextGEN Gallery plugin for WordPress is affected by a vulnerability that allows authenticated attackers with custom-level access to delete arbitrary files from the server. This occurs due to insufficient file path validation in the handle_job function. The flaw impacts all versions up to and including 4.5.5, enabling potential remote code execution if critical files are targeted, such as the wp-config.php file. The necessary capability to exploit this vulnerability is granted to Administrators by default but can be delegated to users with lower privileges, increasing the risk to all WordPress installations utilizing the plugin.

Affected Version(s)

Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery 0 <= 4.5.5

References

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Wordfence PRISM
.