CVE Catalog

CVE-2026-76012

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.83%

58th percentile - higher than 58% of all known CVEs

Summary

The NextGEN Gallery plugin for WordPress in versions up to and including 4.4.1 is vulnerable to remote code execution 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, where the extension check accepts sanitized .php_ filenames.

Risk Assessment

An authenticated attacker with custom-level access or above can execute code on the server, leading to full host compromise. This requires being the stored author of at least one existing NextGEN gallery.

Recommendation

Update the NextGEN Gallery plugin to a version later than 4.4.1 and restrict gallery author privileges.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS