Skip to main content

NextGEN Gallery CVE-2026-118191

| EUVDEUVD-2026-124987 HIGH
Path Traversal (CWE-22)
2026-11-13 Wordfence GHSA-pwph-g8xg-72x8
8.1
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with NextGEN Manage gallery capability
  2. Delivery
    Send crafted handle_job request with traversal path
  3. Exploit
    Bypass insufficient file path validation
  4. Execution
    Delete arbitrary file (e.g. wp-config.php)
  5. Impact
    Leverage deletion for remote code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account possessing the plugin's 'NextGEN Manage gallery' capability, which reaches the vulnerable Lightroom handle_job endpoint. By default this capability is granted only to Administrators, so lower-privileged exploitation is possible only where a site operator has explicitly delegated it to another role through the plugin's Roles screen - this delegation is the key limiting factor. The product must be NextGEN Gallery version 4.5.5 or earlier. No user interaction and no non-default server setup beyond the role delegation are needed; the specific traversal payload/trigger mechanics are not described in the available sources.

Impact

This is a genuine prioritization candidate despite not being an emergency. The CVSS vector (AV:N/AC:L/PR:L/UI:N) confirms network-reachable, low-complexity exploitation with no user interaction, and the I:H/A:H impact reflects arbitrary file deletion that the description explicitly ties to remote code execution when a sensitive file such as wp-config.php is removed. The limiting factor is authentication: PR:L requires an account holding the 'NextGEN Manage gallery' capability, which is Administrator-only by default and only reaches lower-privileged users where an operator has delegated it via the plugin's Roles screen - so real-world exposure depends heavily on each site's role configuration. No EPSS score, KEV listing, or confirmed exploit code is present in the input, so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_week', consistent with a serious but not actively-exploited flaw. The signals are internally consistent (high-severity, authenticated, no in-the-wild evidence), so there is no CVSS-vs-reality conflict to flag - the main uncertainty is how often the required capability is delegated beyond administrators.

Exploit ScenarioDerived

An attacker who holds (or is delegated) the 'NextGEN Manage gallery' capability on a WordPress site running NextGEN Gallery ≤4.5.5 sends a crafted request to the Lightroom handle_job endpoint with a traversal file path, causing the plugin to delete an arbitrary file such as wp-config.php; the resulting broken/reinstallable state can be leveraged to achieve remote code execution. No public exploit code is identified in the provided sources; the references are the Wordfence advisory and plugin source/patch links, not a working exploit.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Arbitrary file deletion in the WordPress plugin Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery through version 4.5.5 allows an authenticated user holding the plugin's 'NextGEN Manage gallery' capability to remove arbitrary files from the server, including wp-config.php, which can readily escalate to remote code execution. The flaw is a path-traversal/validation failure (CWE-22) in the Lightroom handle_job endpoint, reachable remotely with low privileges (CVSS 3.1: AV:N/AC:L/PR:L/UI:N, Integrity and Availability High, Confidentiality None, base 8.1). By default that capability is granted only to Administrators, so practical exposure depends on a site operator having delegated it to a lower-privileged role via the plugin's Roles screen; the trigger mechanics are not described in the available sources, and no public exploit has been identified at time of analysis - this is a genuine prioritization candidate despite not being an emergency, flagged for this-week handling.

RemediationAI

Apply the upstream fix in the Lightroom controller: changeset 3793263 (https://plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/Lightroom/Controller.php) modifies the vulnerable handle_job code path, so update NextGEN Gallery to a release that contains that changeset and is later than 4.5.5 - confirm the exact patched version against the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/b4e01402-f866-43b9-9fef-7e9b156a9e0d?source=cve) before closing the finding, since a tagged release is not named in the available data. Until the update is verified in place, the decisive compensating control is to review the plugin's Roles screen and withdraw the 'NextGEN Manage gallery' capability from every non-Administrator role, since that capability is the sole gate on the vulnerable endpoint; the trade-off is that delegated editors, proofing staff or other custom-level users lose the gallery management functions they were granted, so those workflows must be reassigned to Administrators or paused. Because a successful deletion of wp-config.php can lead to code execution, also verify integrity of wp-config.php and take a current backup before and after remediation. No public exploit has been identified at time of analysis, so this is scheduled this-week work rather than emergency response.

Affected VersionsENISA

Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery 0 ≤4.5.5

Affected Packages

euvd photo_gallery_sliders_proofing_and_themes_nextgen_gallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NextGEN Gallery is a widely deployed WordPress media/gallery plugin whose Lightroom module (src/Lightroom/Controller.php) implements a job-handling routine, handle_job, that processes requests associated with the plugin's Lightroom integration. The root cause class is CWE-22 (improper limitation of a pathname to a restricted directory), described by the reporter as insufficient file path validation in handle_job, meaning a caller-supplied path reaching a delete operation is not adequately constrained to an intended directory. Reaching the endpoint is gated by the plugin's own 'NextGEN Manage gallery' capability rather than a WordPress core role check, so the effective privilege boundary is whichever roles the site owner has granted that capability to; the description notes Administrators receive it by default and that it can be delegated to lower-privileged roles through the plugin's Roles screen. The affected code lineage is visible in the 4.5.3 tag of src/Lightroom/Controller.php, and the vendor-side fix appears in trunk changeset 3793263 against that same file. The CVSS vector confirms network reachability, low privileges and no user interaction, but the specific traversal payload and the exact code path from request to unlink are not described in the available sources, so the precise trigger should be treated as unverified rather than assumed.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

Requires an authenticated custom/manager-level capability so PR:L; network-reachable endpoint with no user interaction; arbitrary file deletion yields high integrity and availability impact with no direct confidentiality loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity flaw in the widely deployed NextGEN Gallery WordPress plugin (through version 4.5.5) lets an authenticated privileged user delete arbitrary server files, potentially including the WordPress configuration file and escalating to full site compromise. Sites running this plugin are exposed, though practical risk concentrates on operators who have delegated the plugin's gallery-management capability to lower-privileged roles; no patch is yet available, so leadership should prioritize the affected WordPress estate and confirm how this capability is assigned.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: revoke the 'NextGEN Manage gallery' capability from all non-Administrator roles and audit delegated roles; enforce least privilege and MFA on administrator accounts; monitor for and alert on anomalous file-deletion and Lightroom handle_job activity; maintain verified offline backups enabling rapid restoration of wp-config.php and core files; consider disabling the plugin if delegation cannot be safely constrained.

Threat Intelligence Overview

EPSS Score
1.1%
Top 35% exploitable
Prevalence
High
NextGEN Gallery is one of the most widely installed WordPress gallery plugins
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy