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.
Published: 2026-09-20
Score: n/a
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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. Although no EPSS score is published, the impact score is effectively high due to the ability to execute code on the web server. The vulnerability is not listed in CISA’s KEV catalog; however, the lack of a mitigation is concerning for sites running affected plugin versions.

Generated by OpenCVE AI on September 20, 2026 at 07:17 UTC.

Remediation

No vendor fix or workaround currently provided.

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 07:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 20 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-434

Sun, 20 Sep 2026 06:30:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-09-20T06:00:15.631Z

Reserved: 2026-08-27T09:27:24.690Z

Link: CVE-2026-81650

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-20T07:16:49.590

Modified: 2026-09-20T07:16:49.590

Link: CVE-2026-81650

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T07:30:17Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type