{"id":"CVE-2026-76012","aliases":[],"cve":{"records":[{"id":"CVE-2026-76012","source":"Wordfence","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-18T18:59:49.405Z","published":"2026-10-30T17:15:33.570Z","modified":"2026-10-30T18:08:55.506Z"}],"publishers":[{"name":"Wordfence","role":"CNA","organizationId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","modified":"2026-10-30T17:15:33.570Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-30T18:08:55.506Z"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f8b09972-4d2d-4ab3-bc12-7aba32aefd49?source=cve","tags":[],"source":"Wordfence"},{"url":"https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/DisplayType/Controller.php#L564","tags":[],"source":"Wordfence"},{"url":"https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L45","tags":[],"source":"Wordfence"},{"url":"https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L197","tags":[],"source":"Wordfence"},{"url":"https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L1355","tags":[],"source":"Wordfence"},{"url":"https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L1465","tags":[],"source":"Wordfence"},{"url":"https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/DisplayType/LegacyTemplateLocator.php#L142","tags":[],"source":"Wordfence"},{"url":"https://plugins.trac.wordpress.org/changeset/3699076/nextgen-gallery/trunk/src/DisplayType/Controller.php","tags":[],"source":"Wordfence"}],"weaknesses":[{"id":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","source":"Wordfence"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-30T17:30:30.092467Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"total"}]}]},"title":"Photo Gallery, Sliders, Proofing and Themes <= 4.4.1 - Authenticated (Custom+) Local File Inclusion via Lightroom 'gallery_edit' Task property_list + Image Upload","titleSource":"Wordfence","descriptionSource":"Wordfence","description":"The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.4.1 via the legacy_render function. This is due to broken authorization on the Lightroom gallery_edit endpoint combined with mass assignment of gallery path and unrestricted file upload into a registered template directory, whose extension check uses a substring match that accepts sanitized .php_ filenames as valid templates. This makes it possible for authenticated attackers, with custom-level access and above, to execute code on the server. Exploitation requires the authenticated attacker to be the stored author of at least one existing NextGEN gallery, as ownership of that gallery is the sole authorization check gating the mass-assignment and upload steps.","score":7.5,"severity":"high","published":"2026-10-30T17:15:33.570Z","modified":"2026-10-30T18:08:55.506Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"smub","name":"Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery","platforms":[],"versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.4.1","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"Wordfence","url":"https://www.cve.org/CVERecord?id=CVE-2026-76012"}],"remediation":[],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/f8b09972-4d2d-4ab3-bc12-7aba32aefd49?source=cve","https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/DisplayType/Controller.php#L564","https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L45","https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L197","https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L1355","https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L1465","https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/DisplayType/LegacyTemplateLocator.php#L142","https://plugins.trac.wordpress.org/changeset/3699076/nextgen-gallery/trunk/src/DisplayType/Controller.php"],"sources":[{"name":"CVE","id":"CVE-2026-76012","modified":"2026-10-30T18:08:55.506Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-76012"}],"assessments":[{"source":"Wordfence","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5}],"sourceAffected":[],"observedAt":"2026-10-30T19:13:07.310Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T13:55:32.867Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress, versions up to 4.4.1, has a local file inclusion vulnerability. It requires custom-level access or higher and ownership of an existing NextGEN gallery. An attacker can exploit this via the Lightroom 'gallery_edit' task.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T10:31:02.596Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-76012"}]}}