Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-1463: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

0
High
VulnerabilityCVE-2026-1463cvecve-2026-1463cwe-98
Published: Wed Mar 18 2026 (03/18/2026, 16:26:26 UTC)
Source: CVE Database V5
Vendor/Project: smub
Product: Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

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.

AI-Powered Analysis

AILast updated: 03/18/2026, 17:12:59 UTC

Technical Analysis

CVE-2026-1463 is a Local File Inclusion vulnerability identified in the NextGEN Gallery plugin for WordPress, specifically affecting all versions up to and including 4.0.3. The vulnerability arises from improper control of the filename used in the PHP include/require statement, classified under CWE-98. The flaw is triggered via the 'template' parameter in gallery shortcodes, which does not properly validate or sanitize input. Authenticated attackers with Author-level access or higher can exploit this to include arbitrary PHP files from the server. If an attacker can upload PHP files (e.g., via other plugin vulnerabilities or upload features), they can execute arbitrary code remotely, leading to full server compromise. The vulnerability does not require user interaction beyond authentication and has a low attack complexity. The CVSS 3.1 score is 8.8 (high), reflecting the network attack vector, low complexity, privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. No official patches have been linked yet, and no known exploits are reported in the wild, but the risk is substantial given the plugin's widespread use in WordPress sites.

Potential Impact

The impact of this vulnerability is severe for organizations using the NextGEN Gallery plugin. Exploitation can lead to remote code execution on the web server, allowing attackers to bypass access controls, steal sensitive data, modify website content, or deploy malware. This can result in website defacement, data breaches, loss of customer trust, and potential lateral movement within the hosting environment. Given WordPress's popularity and the widespread use of NextGEN Gallery for photo galleries, many websites globally are at risk. Attackers with Author-level access, which is a relatively low privilege level in WordPress, can leverage this flaw, increasing the attack surface. The vulnerability could also be chained with other vulnerabilities (e.g., file upload flaws) to escalate privileges and fully compromise affected systems.

Mitigation Recommendations

Organizations should immediately upgrade the NextGEN Gallery plugin to a version that addresses this vulnerability once available. Until a patch is released, administrators should restrict Author-level user capabilities to trusted users only and consider temporarily disabling or removing the plugin if feasible. Implementing Web Application Firewall (WAF) rules to detect and block suspicious requests targeting the 'template' parameter can reduce exploitation risk. Additionally, hardening file upload mechanisms to prevent uploading executable PHP files and restricting PHP execution in upload directories can mitigate the impact. Regularly auditing user roles and permissions to minimize unnecessary Author or higher privileges is critical. Monitoring logs for unusual access patterns related to gallery shortcodes or file inclusions is recommended to detect potential exploitation attempts early.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-01-27T06:46:59.960Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bad9b2771bdb1749b2409e

Added to database: 3/18/2026, 4:58:26 PM

Last enriched: 3/18/2026, 5:12:59 PM

Last updated: 3/18/2026, 7:16:12 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses