CVE-2026-118191 — smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Research article
NextGEN Gallery Plugin Vulnerable to File Deletion in WordPress
| CVE | CVE-2026-118191 |
|---|---|
| Vendor and product | smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery |
| Published | November 24, 2026 19:30 UTC |
| Research cut-off | November 24, 2026 18:36 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-13); CISA KEV catalog; FIRST EPSS (2026-11-24) |
Executive summary
The NextGEN Gallery plugin for WordPress has a flaw that allows unauthorized deletion of files because the system doesn't properly check file paths, which can be exploited by authenticated users with custom access privileges to remove server files [1]. The CVSS 3.1 score is 8.1 HIGH, with a vector of AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H, scored by security@wordfence.com [1]. All versions up to 4.5.5 are affected, and the reviewed sources do not report exploitation [2, 3]. The main action is to update to a fixed version.
Key points
- The NextGEN Gallery plugin for WordPress contains a vulnerability that enables the deletion of arbitrary files as a result of inadequate path validation [1].
- The CVSS 3.1 score is 8.1 HIGH, with a vector of AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H, scored by security@wordfence.com [1].
- All versions up to 4.5.5 are affected, and the reviewed sources do not report exploitation [2, 3].
- Authenticated attackers with custom-level access can delete arbitrary files on the server, potentially leading to remote code execution [1].
- The reviewed sources do not list a fixed version for this CVE [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-118191 | smub | Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | CWE-22 | 8.1 HIGH, scored by security@wordfence.com | 2026-11-13T10:17:26 | 2026-11-13T20:17:52 | Deferred |
Vulnerability description
The NextGEN Gallery plugin for WordPress enables authenticated attackers with custom-level access to delete arbitrary files on the server because the plugin fails to properly validate file paths in the handlejob function. This flaw could allow attackers to remove critical system files, which may result in remote code execution if files like wp-config.php are deleted [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires network access (AV:N), low privilege (PR:L), and no user interaction (UI:N). Attackers must have custom-level access to access the vulnerable endpoint, which is typically assigned to Administrators by default but can be granted to users with lower privileges through the plugin's role management settings [1].
Impact analysis
The CVSS vector shows no impact on confidentiality (C:N), but it has a high impact on integrity (I:H) and availability (A:H). The description says deleting a file such as wp-config.php can easily lead to remote code execution [1].
Affected products and versions
| Affected Product | Fixed Version |
|---|---|
| smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | not listed |
Exploitation and threat intelligence status
CVE-2026-118191 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-24 [2]. The EPSS score for this CVE is 0.0099 (0.99%), with a percentile of 0.6329, suggesting a low likelihood of exploitation within the next 30 days [3].
Detection and exposure assessment
Users should verify if their installed version of the NextGEN Gallery plugin is at or below 4.5.5 to determine if they are at risk [1].
Remediation
The reviewed sources do not provide information about a fixed version for this CVE. The reviewed sources do not provide information about a fixed version for this CVE, so readers may wish to check the vendor's updates.
Remediation checklist
- Monitor for updates from the vendor and apply patches as they become available.
- Review access controls to ensure that only authorized users have custom-level access to the plugin.
- Conduct a security audit of the WordPress installation to identify and address any other potential vulnerabilities.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the technical mechanics of the flaw.
- The sources do not describe the root cause of the vulnerability.
- The sources do not provide indicators of compromise.
References
- CVE-2026-118191 record. NIST National Vulnerability Database (NVD), 2026-11-13. https://nvd.nist.gov/vuln/detail/CVE-2026-118191. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-118191. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-118191. Accessed 2026-11-24.
Summary
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.
Severity breakdown
High · 8.1
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on integrity and availability, none on confidentiality
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | ≤ 4.5.5 | — |
References by type
Other references
Affected
- smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Frequently asked questions
What is CVE-2026-118191?
The NextGEN Gallery plugin for WordPress has a flaw that allows unauthorized deletion of files because the system doesn't properly check file paths, which can be exploited by authenticated users with custom access privileges to remove server files. The CVSS 3.1 score is 8.1 HIGH, with a vector of AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H, scored by security@wordfence.com. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-118191?
CVE-2026-118191 has a CVSS 3.1 base score of 8.1 (high), from the CNA (wordfence.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-118191 being exploited?
Not as far as is known: CVE-2026-118191 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 1.1% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-118191?
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery ≤ 4.5.5.
How do I fix CVE-2026-118191?
Monitor for updates from the vendor and apply patches as they become available. Review access controls to ensure that only authorized users have custom-level access to the plugin. Conduct a security audit of the WordPress installation to identify and address any other potential vulnerabilities.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-97345 — SumUp Payment Gateway For WooCommerce
- CVE-2026-92251 — zarinpal افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce)
- CVE-2026-122039 — wpeverest User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder
- Easy Form Builder Plugin Vulnerable to Stored XSS via Cross-Type Poisoning
- Premmerce Brands for WooCommerce Plugin Vulnerable to Stored XSS