CVE-2026-76010

Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.4.1 - Authenticated (Custom+) Remote Code Execution via XML-RPC 'meta_data' Mass Assignment and Path Traversal

Published Oct 31, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
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 render_image function. This is due to unrestricted mass assignment of caller-supplied meta_data keys onto the image model combined with missing realpath containment in path construction and a bypassable signature check on the public image delivery route. 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 own at least one NextGEN gallery — a condition that can be satisfied by any Subscriber who was ever granted the 'NextGEN Manage gallery' capability, and that access is retained indefinitely due to the stored gallery-author equality fallback in _can_manage_gallery() even after the capability is revoked.

Analysis

AI-generated

Technical impact

The NextGEN Gallery WordPress plugin contains a flaw that allows authenticated users with custom or higher privileges to manipulate the image model by assigning arbitrary meta_data keys submitted through XML‑RPC. Because the plugin does not validate these keys and fails to enforce realpath containment when constructing file paths, an attacker can achieve Remote Code Execution via path traversal. The vulnerability is triggered through the render_image function by supplying malicious meta_data that ultimately writes executable code to the server.

Affected Systems

All releases of the smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin up to version 4.4.1 are affected. This includes every user who installed any of those releases, regardless of site size or number of galleries managed. The issue resides in the smub plugin for WordPress.

Risk and Exploitability

The CVSS score of 8.8 reflects a high‑severity RCE risk. The EPSS score of 1% indicates a low but non‑zero exploitation probability, and the vulnerability is not listed in CISA’s KEV catalog. Attackers must be authenticated; however, the required custom‑level access can be obtained by any Subscriber who has once held the 'NextGEN Manage gallery' capability, and that privilege persists even after the capability is revoked. Thus the attack vector is authenticated, but the retention of capability makes it easier for attackers to maintain unauthorized access. Once exploited, the attacker can execute arbitrary code on the server, compromising confidentiality, integrity, and availability of the entire site and potentially the underlying server infrastructure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the NextGEN Gallery plugin to the latest version that contains the RCE patch.
  • Restrict or disable XML‑RPC access for the affected plugin, especially for users with custom or higher privileges, to prevent exploitation of the meta_data mass assignment vector.
  • Revoke the 'NextGEN Manage gallery' capability from all Subscriber accounts that no longer require gallery management and audit role assignments regularly to limit the number of users with elevated access.

Generated by OpenCVE AI on October 31, 2026 at 14:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Smub
Smub nextgen Gallery
Wordpress-extensions
Wordpress-extensions nextgen Gallery
Vendors & Products Smub
Smub nextgen Gallery
Wordpress-extensions
Wordpress-extensions nextgen Gallery
Type Values Removed Values Added
Description 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 render_image function. This is due to unrestricted mass assignment of caller-supplied meta_data keys onto the image model combined with missing realpath containment in path construction and a bypassable signature check on the public image delivery route. 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 own at least one NextGEN gallery — a condition that can be satisfied by any Subscriber who was ever granted the 'NextGEN Manage gallery' capability, and that access is retained indefinitely due to the stored gallery-author equality fallback in _can_manage_gallery() even after the capability is revoked.
Title Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.4.1 - Authenticated (Custom+) Remote Code Execution via XML-RPC 'meta_data' Mass Assignment and Path Traversal
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 2, 2026, 2:34 PM
Reserved
Aug 18, 2026, 6:57 PM
Status
Deferred
Published
Oct 31, 2026, 10:16 AM
Modified
Nov 2, 2026, 4:19 PM