CVE-2026-6566: Photo Gallery, Sliders, Proofing and Themes <= 4.2.0 - Insecure Direct Object Reference to Authenticated (Subscriber+) Image Deletion via REST API

Published May 20, 2026
·
Updated

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).

Affected Software

1 affected component
Imagely NextGEN Gallery<=4.2.0

Event History

May 20, 2026
CVE Published
via MITRE·05:31 AM
Data Sourced
via MITRE·05:31 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6566?

CVE-2026-6566 is rated as a high severity vulnerability due to the risk of unauthorized image deletion.

2

How do I fix CVE-2026-6566?

To mitigate CVE-2026-6566, update the Imagely NextGEN Gallery plugin to version 4.2.1 or later.

3

What is the impact of CVE-2026-6566 on my WordPress site?

CVE-2026-6566 allows authenticated users to delete images that they shouldn't have access to, potentially leading to data loss.

4

Which versions of Imagely NextGEN Gallery are affected by CVE-2026-6566?

CVE-2026-6566 affects Imagely NextGEN Gallery versions up to and including 4.2.0.

5

Who can exploit CVE-2026-6566?

Authenticated users with Subscriber or higher privileges can exploit CVE-2026-6566 to delete images via the REST API.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203