CVE-2026-76012
published high CVSS 3.1 · 7.5Photo Gallery, Sliders, Proofing and Themes <= 4.4.1 - Authenticated (Custom+) Local File Inclusion via Lightroom 'gallery_edit' Task property_list + Image Upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| smub | — | Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery0 through 4.4.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| smub | Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | 0 through 4.4.1 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
References
8- 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/DisplayType/LegacyTemplateLocator.php#L142
- 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/Lightroom/Controller.php#L197
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.3.0/src/Lightroom/Controller.php#L45
- https://plugins.trac.wordpress.org/changeset/3699076/nextgen-gallery/trunk/src/DisplayType/Controller.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f8b09972-4d2d-4ab3-bc12-7aba32aefd49?source=cve
Provider assertions
2Wordfence · cna
Photo Gallery, Sliders, Proofing and Themes <= 4.4.1 - Authenticated (Custom+) Local File Inclusion via Lightroom 'gallery_edit' Task property_list + Image Upload
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 276c10340269cd3e194d1acb2e9a551f3b5a10990a73b93f40c6df86fbec4a12
- Ingested
- 30 Oct 2026, 18:16:35 UTC
- Source record
- Official CVE record