{"id":"CVE-2026-6566","aliases":["CVE-2026-6566"],"related":[],"kind":"vulnerability","state":"published","title":"Photo Gallery, Sliders, Proofing and Themes <= 4.2.0 - Insecure Direct Object Reference to Authenticated (Subscriber+) Image Deletion via REST API","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"El plugin Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery para WordPress es vulnerable a Referencia Directa Insegura a Objeto en versiones hasta la 4.2.0 inclusive. Esto se debe a una autorización a nivel de objeto insuficiente en el flujo REST de eliminación de imágenes, donde la función de devolución de llamada de permisos para DELETE /imagely/v1/images/{id} solo verifica los permisos 'NextGEN Manage gallery' y no impone la propiedad de la galería o los permisos 'NextGEN Manage others gallery'. Esto hace posible que atacantes autenticados, con privilegios de nivel de Suscriptor y la capacidad 'NextGEN Manage gallery', eliminen imágenes de la galería pertenecientes a otros usuarios, así como sus archivos de imagen asociados del disco cuando deleteImg está habilitado (por defecto).","source":"nvd"}],"published":"2026-05-20T05:31:10.536Z","modified":"2026-07-24T08:10:00.150Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.2.0","status":"affected"}],"vendor":"smub","product":"Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/439809ad-21ea-4a0b-b1fd-5de9f8f5ee7a?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3533432/nextgen-gallery","tags":[],"sources":["cvelist","nvd"]}],"credits":["Bao Luu Gia Nguyen"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-20T15:43:36.099Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6566","url":"https://www.cve.org/CVERecord?id=CVE-2026-6566","licence":"CVE Terms of Use","modified":"2026-05-20T15:54:05.752Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6566","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6566","licence":"Public domain","modified":"2026-07-24T08:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:22.028Z","epss":{"score":0.00264,"percentile":0.19627,"date":"2026-12-01T12:00:22.000Z"}}