Cyber Posture

CVE-2026-1463

High

Published: 18 March 2026

Published
18 March 2026
Modified
22 April 2026
KEV Added
Patch
CVSS Score 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0014 32.8th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

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…

more

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.

Mitigating Controls (NIST 800-53 r5)AI

prevent

SI-10 directly mitigates the LFI vulnerability by requiring validation of the 'template' parameter to block arbitrary file path inclusion and PHP execution.

prevent

SI-2 remediates the specific flaw in NextGEN Gallery versions up to 4.0.3 by applying patches, such as the changeset to LegacyTemplateLocator.php, to prevent exploitation.

prevent

AC-3 enforces access controls on server files, limiting authenticated Author+ users from including arbitrary .php files via gallery shortcodes.

Security SummaryAI

CVE-2026-1463 is a Local File Inclusion vulnerability (CWE-98) affecting the Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress in all versions up to and including 4.0.3. The flaw exists via the 'template' parameter in gallery shortcodes, which allows improper handling of file paths, enabling the inclusion of arbitrary files on the server.

Authenticated attackers with Author-level access or higher can exploit this vulnerability over the network with low complexity and no user interaction required. Successful exploitation permits the inclusion and execution of arbitrary .php files, resulting in PHP code execution. This can bypass access controls, disclose sensitive data, or enable remote code execution in scenarios where .php files are uploadable. The vulnerability has a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating high confidentiality, integrity, and availability impacts.

References provided include code locations in the affected plugin files, such as Controller.php at line 369 and LegacyTemplateLocator.php at line 140 in version 4.0.3, along with a changeset (3460327) modifying LegacyTemplateLocator.php, suggesting a patch has been applied in trunk. Additional details are available in the Wordfence threat intelligence advisory.

Details

CWE(s)

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Why these techniques?

Local File Inclusion vulnerability in WordPress plugin enables remote code execution for authenticated low-privilege (Author+) users via arbitrary PHP file inclusion, directly mapping to exploitation of a public-facing web application (T1190) and exploitation for privilege escalation (T1068).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References