Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as custom+ user owning a gallery
-
DeliveryCall broken-auth Lightroom gallery_edit endpoint
-
ExploitMass-assign gallery path to template dir
-
ExecutionUpload crafted .php_ file past substring extension check
-
Impactlegacy_render executes template as PHP
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence 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 WordPress account with custom-level access or above, AND that account must be the stored author of at least one existing NextGEN gallery - gallery ownership is the only authorization check gating the vulnerable mass-assignment and upload steps. The concrete trigger is the Lightroom gallery_edit endpoint, where broken authorization allows mass assignment of the gallery path, combined with unrestricted upload into a registered template directory whose extension check uses a substring match that treats a sanitized '.php_' filename as a valid template; the legacy_render function then executes it. Limiting factors: it is not unauthenticated (PR:L) and not default-config exploitable - installs that do not grant untrusted users custom+ roles or do not let them author galleries are not reachable, which is why CVSS rates attack complexity high. Applies to all versions up to and including 4.4.1. |
| Impact | This is a genuine remote code execution flaw (CWE-434, unrestricted file upload) in NextGEN Gallery, but the supplied signals point to a serious-yet-gated issue rather than a drop-everything emergency. The CVSS 3.1 vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N (base 7.5) encodes the key tension: the vector is network-reachable (AV:N) and needs no user interaction (UI:N), yet it requires privileges (PR:L) and carries high attack complexity (AC:H). The AC:H and PR:L are explained by the description's stated precondition - the attacker must hold custom-level access or above AND already be the stored author of at least one existing NextGEN gallery, which is the sole authorization check gating the mass-assignment and upload. That is a concrete, attacker-uncontrolled precondition, so this is not a default-configuration unauthenticated RCE. No EPSS probability was provided, the CVE is not listed in CISA KEV, and no confirmed public exploit code is present - the references are the Wordfence advisory and WordPress trac source-line links, not a working exploit. The vuln.today decision label is this_week, consistent with a high-impact but privilege-gated bug that should be patched promptly rather than treated as emergency. Overall: real priority for any site that grants untrusted users custom+ roles and gallery authorship, lower practical risk for locked-down single-author installs. |
| Exploit ScenarioDerived | An attacker who already holds a custom-level-or-above WordPress account and is the stored author of at least one NextGEN gallery abuses the broken authorization on the Lightroom gallery_edit endpoint to mass-assign the gallery path, then uploads a file into a registered template directory whose extension check uses a substring match that accepts a sanitized .php_ filename as a valid template. The legacy_render function then executes that template as PHP code on the server. No public, verified exploit code is identified at time of analysis, so this reflects the mechanism described by the vendor rather than a confirmed released PoC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 30, 2026
Remote code execution in the WordPress plugin NextGEN Gallery, affecting all versions up to and including 4.4.1, requires an authenticated attacker holding a custom-level role or above who is also the stored author of at least one existing NextGEN gallery - gallery ownership is the only authorization check standing between that account and the vulnerable upload path. Abuse of the Lightroom gallery_edit endpoint lets that author mass-assign the gallery path and upload a file into a registered template directory, which the legacy_render function then executes. The attack is gated rather than open: it is not unauthenticated and it is not exploitable on default configurations that do not hand untrusted users custom+ roles or gallery authorship, which is why CVSS rates attack complexity high despite the full confidentiality, integrity and availability impact; no public exploit was identified at time of analysis and there is no CISA KEV confirmation of active exploitation.
RemediationAI
An upstream fix has been committed to the plugin trunk in changeset 3699076 (https://plugins.trac.wordpress.org/changeset/3699076/nextgen-gallery/trunk/src/DisplayType/Controller.php), but the supplied data does not name a released patched version, so confirm the first fixed release against the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/f8b09972-4d2d-4ab3-bc12-7aba32aefd49?source=cve before treating any update as complete - 4.4.1 is the last version confirmed vulnerable. Because the exploit chain is gated by role and by gallery authorship, the effective compensating control is to remove the prerequisites: audit which accounts hold custom-level capabilities or above and which of those are stored authors of existing NextGEN galleries, and revoke those roles or reassign gallery ownership so no untrusted user satisfies the sole authorization check on the gallery_edit endpoint. That trades away delegated gallery management for untrusted users, which is the intended trade-off, and should be paired with an update as soon as a patched release is confirmed.
Affected VersionsENISA
Affected Packages
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 WordPress plugin for photo galleries, sliders and proofing, and its Lightroom module exposes a gallery_edit endpoint intended to let authors modify their own galleries. The root cause is CWE-434 (unrestricted upload of file with dangerous type), but it is reached through two compounding weaknesses: broken authorization on that endpoint permits mass assignment of the gallery path, and the upload destination is a registered template directory whose extension check uses a substring match rather than a strict comparison, so a sanitized '.php_' filename is accepted as a valid template. The legacy_render function in the display-type layer then renders that template, converting the uploaded file into server-side code execution. The referenced plugin source at tag 4.3.0 shows the relevant code paths in src/DisplayType/Controller.php, src/Lightroom/Controller.php (the endpoint and its handlers around lines 45, 197, 1355 and 1465) and src/DisplayType/LegacyTemplateLocator.php around line 142, where the template locating logic lives. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H reflects network reachability but a low-privileged actor constrained by the gallery-ownership prerequisite; the trigger beyond that prerequisite is fully described in the available sources and does not depend on timing or attacker-uncontrolled conditions.
Know when Wordpress Plugin 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
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Network endpoint but requires low-privilege account that is also an existing gallery author (PR:L, AC:H for that precondition); RCE yields full C/I/A impact, scope unchanged.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.4.1 via the legacy_render function. This is due to broken authorization on the Lightroom gallery_edit endpoint combined with mass assignment of gallery path and unrestricted file upload into a registered template directory, whose extension check uses a substring match that accepts sanitized .php_ filenames as valid templates. This makes it possible for authenticated attackers, with custom-level access and above, to execute code on the server. Exploitation requires the authenticated attacker to be the stored author of at least one existing NextGEN gallery, as ownership of that gallery is the sole authorization check gating the mass-assignment and upload steps.
Executive ViewAI
A high-severity remote code execution flaw in the NextGEN Gallery WordPress plugin (all versions through 4.4.1) could let a malicious insider or compromised low-privilege account turn a gallery-owner role into full control of the affected web server. Organizations are exposed only where untrusted or broadly-provisioned users can hold custom roles with gallery authorship; sites following least-privilege defaults are not exploitable. Leadership should care because a successful compromise yields full confidentiality, integrity, and availability loss on any internet-facing site running the plugin.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict custom-level roles and gallery authorship to vetted administrators only, audit and remove untrusted gallery owners, review upload/template directories for unexpected executable files, and monitor or block abuse of the Lightroom gallery_edit endpoint until a fix is available.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-114236
GHSA-5hr5-5vc8-hvg6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB