CVE-2026-81650: NextGEN Gallery arbitrary file upload via ZIP import

CVE-2026-81650 · Severity: high · CVSS 7.2 · Published 2026-09-20

NextGEN Gallery is a WordPress plugin that manages photo galleries on websites. A flaw in the file extraction process allows users with gallery-management privileges to upload malicious files disguised in ZIP archives, potentially executing arbitrary code on the web server.

Technologies: Imagely NextGEN Gallery. Vendors: Imagely.

Quick answers

Is CVE-2026-81650 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-81650 being exploited in the wild.
How severe is CVE-2026-81650?
High severity, with a CVSS score of 7.2, published 20 September 2026.
Which products and versions are affected?
Imagely NextGEN Gallery before 4.5.0.
Is there a fix for CVE-2026-81650?
A patch was published on 2026-09-20: version 4.5.0 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-81650 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-81650?
Check whether you run Imagely NextGEN Gallery at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The plugin fails to validate file extensions during ZIP archive extraction due to a loop counter variable reuse, causing the extension check to always pass. An authenticated attacker with gallery-management capability can exploit this to write arbitrary files to web-accessible directories. On servers configured to execute the uploaded files, this enables remote code execution.

Affected products

  • Imagely NextGEN Gallery before 4.5.0

Timeline

  • 2026-09-18: disclosed
  • 2026-09-20: patched: version 4.5.0 released

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.