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

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-05-20T05:31:10.536Z
- Modified: 2026-07-24T08:10:00.150Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

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

(As written by CVE List.)

## Affected

- smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery: up to 4.2.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/439809ad-21ea-4a0b-b1fd-5de9f8f5ee7a?source=cve>
- <https://plugins.trac.wordpress.org/changeset/3533432/nextgen-gallery>

## Sources

- CVE List: [CVE-2026-6566](https://www.cve.org/CVERecord?id=CVE-2026-6566), CVE Terms of Use, modified 2026-05-20
- NVD: [CVE-2026-6566](https://nvd.nist.gov/vuln/detail/CVE-2026-6566), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-6566 · Whole record: https://cve.day/CVE-2026-6566.json · Rebuilt by cve.day 2026-11-25T22:59:22.028Z
