Photo Gallery, Sliders, Proofing and Themes <= 4.2.0 - Insecure Direct Object Reference to Authenticated (Subscriber+) Image Deletion via REST API
The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to and including 4.2.0. This is due to insufficient object-level authorization in the image deletion REST flow where the permission callback for DELETE /imagely/v1/images/{id} only checks 'NextGEN Manage gallery' permissions and does not enforce gallery ownership or 'NextGEN Manage others gallery' permissions. This makes it possible for authenticated attackers, with Subscriber-level privileges and 'NextGEN Manage gallery' capability, to delete gallery images belonging to other users as well as their associated image files from disk when deleteImg is enabled (default).
CVE-2026-6566 is a medium severity with CVSS 4.3 Authorization Bypass issue affecting the Plugin Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery. It affects Versions up to 4.2.0 and is fixed in 4.2.1.
Review the full Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery vulnerability cluster
Use the related hub and response guides to connect this CVE-2026-6566 report with patch validation, scanner checks, and site hardening work.
Open the grouped hub for related CVEs, affected ranges, severity mix, and patch coverage.
Check access, XML-RPC exposure, backup readiness, and monitoring after patching.
Use containment, evidence capture, remediation, and validation steps when exploit risk is high.
CVE-2026-6566 is tracked for the Plugin Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery as medium severity with CVSS 4.3. The affected range is Versions up to 4.2.0. Update Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery to 4.2.1 or newer where that version is compatible with the site.
Why this report is useful for search and triage
Search engines and operators need more than a title. This page exposes the identifier, affected range, patch evidence, and source coverage that make the vulnerability actionable.
This report has a CVE identifier, which makes it suitable for focused search and vulnerability triage workflows.
Affected version data gives operators a concrete comparison point against installed WordPress software.
A fixed version is present, so the page can answer update and remediation intent directly.
External references are available for source validation, advisory review, and incident notes.
How to validate this finding
Use these checks when converting this record into a patch ticket, incident note, or risk acceptance decision.
Inventory the installed Plugin package and compare its version with Versions up to 4.2.0.
Confirm Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery is updated to 4.2.1 or newer.
Review references and CVSS vector details for exploitability, authentication requirements, and exposure path.
After patching, re-run vulnerability monitoring and keep the related plugin or theme hub under review for follow-up CVEs.
| Software Type | Plugin |
|---|---|
| Software Slug |
nextgen-gallery
View on wordpress.org
|
| CVE | CVE-2026-6566 |
| Patched Versions |
4.2.1
|
| Affected Versions |
Versions up to 4.2.0
|
Related CVEs for Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.
NextGEN Gallery <= 3.2.10 - SQL Injection
NextGEN Gallery <= 2.1.56 - Authenticated Local File Inclusion & SQL injection
WordPress Gallery Plugin – NextGEN Gallery <= 1.9.12 - Arbitrary File Upload
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.0.4 - Authenticated (Author+) Local File Inclusion
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 3.59.12 - Authenticated (Contributor+) Local File Inclusion via 'template'
WordPress Gallery Plugin – NextGEN Gallery <= 3.4.7 - Cross-Site Request Forgery to Arbitrary File Upload
WordPress Gallery Plugin – NextGEN Gallery <= 3.4.7 - Cross-Site Request Forgery
NextGen Gallery <= 2.1.10 - Unrestricted File Upload
This record contains material that is subject to copyright
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more
License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more