CVE-2026-81650

NextGEN Gallery < 4.5.0 - Authenticated Arbitrary File Upload via ZIP Import

Published Sep 20, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
The Photo Gallery, Sliders, Proofing and WordPress plugin before 4.5.0 does not correctly validate the extensions of files extracted from an uploaded archive, due to a variable being reused as a loop counter so that the check always passes, allowing users granted its gallery-management capability by an administrator to write arbitrary files into a web-accessible directory and, on hosts that execute them, run arbitrary code.

Analysis

AI-generated

Technical impact

The plugin contains a flaw that bypasses file‑extension validation when extracting files from an uploaded ZIP archive. A variable reused as a loop counter causes the check to always succeed, allowing an authenticated user with gallery‑management rights to write arbitrary files into a web‑accessible directory. If the host executes files in that directory, the attacker can run arbitrary code, achieving full compromise of the server and its data.

Affected Systems

The vulnerability applies to the WordPress Photo Gallery, Sliders, Proofing and Themes plugin prior to version 4.5.0. All earlier releases expose the flawed ZIP‑import functionality.

Risk and Exploitability

The flaw can be exploited by users who have been granted the gallery‑management privilege, an access level typically granted by an administrator. The CVSS score of 7.2 indicates high severity, and the EPSS score of 0.00139 (≈0.14%) indicates a low but nonzero probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog; however, the lack of a mitigation is concerning for sites running affected plugin versions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Photo Gallery, Sliders, Proofing and Themes plugin to version 4.5.0 or newer, where the ZIP import validation has been corrected.
  • Reconfigure the web server or the plugin’s upload directory so that files stored there cannot be executed (e.g., using .htaccess rules or server configuration to disable PHP execution in that path).
  • If an upgrade is not immediately possible, disable the ZIP import feature or restrict the accepted file types to trusted extensions only, and monitor the upload directory for unexpected files.

Generated by OpenCVE AI on September 20, 2026 at 15:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions nextgen Gallery
Vendors & Products Wordpress-extensions
Wordpress-extensions nextgen Gallery
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Weaknesses CWE-434
Type Values Removed Values Added
Description The Photo Gallery, Sliders, Proofing and WordPress plugin before 4.5.0 does not correctly validate the extensions of files extracted from an uploaded archive, due to a variable being reused as a loop counter so that the check always passes, allowing users granted its gallery-management capability by an administrator to write arbitrary files into a web-accessible directory and, on hosts that execute them, run arbitrary code.
Title NextGEN Gallery < 4.5.0 - Authenticated Arbitrary File Upload via ZIP Import
References
Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Sep 20, 2026, 1:46 PM
Reserved
Aug 27, 2026, 9:27 AM
Status
Deferred
Published
Sep 20, 2026, 7:16 AM
Modified
Sep 21, 2026, 1:34 PM