Home

Description

The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.0.3 via the 'template' parameter in gallery shortcodes. This makes it possible for authenticated attackers, with Author-level access and above, to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.

PUBLISHED Reserved 2026-01-27 | Published 2026-03-18 | Updated 2026-04-08 | Assigner Wordfence




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-01-27:Vendor Notified
2026-03-17:Disclosed

Credits

Athiwat Tiprasaharn finder

Itthidej Aramsri finder

Waris Damkham finder

References

www.wordfence.com/...-cdaf-42a7-8801-ad2e4945a137?source=cve

plugins.trac.wordpress.org/...Type/LegacyTemplateLocator.php

plugins.trac.wordpress.org/...src/DisplayType/Controller.php

plugins.trac.wordpress.org/...pe%2FLegacyTemplateLocator.php

cve.org (CVE-2026-1463)

nvd.nist.gov (CVE-2026-1463)

Download JSON