Armis Logo< Back

CVE-2026-1463:

Local File Inclusion vulnerability in NextGEN Gallery WordPress plugin allows authenticated attackers to execute arbitrary PHP code.


Score
Info
A numerical rating that indicates how dangerous this vulnerability is.

8.8High
  • Published Date:Mar 18, 2026
  • CISA KEV Date:*No Data*
  • Industries Affected:20

Exploitability

  • Score:2.8
  • Attack Vector:NETWORK
  • Attack Complexity:LOW
  • Privileges Required:LOW
  • User Interaction:NONE
  • Scope:UNCHANGED

Impact

  • Score:5.9
  • Confidentiality Impact:HIGH
  • Integrity Impact:HIGH
  • Availability Impact:HIGH

Description Preview

Local File Inclusion vulnerability in NextGEN Gallery WordPress plugin allows authenticated attackers to execute arbitrary PHP code.

Overview

The vulnerability affects the NextGEN Gallery WordPress plugin, a popular tool for managing and displaying image galleries. The issue stems from improper input validation in the 'template' parameter of gallery shortcodes. Authenticated users with Author-level privileges or higher can exploit this vulnerability to include and execute arbitrary PHP files on the server. This can potentially lead to unauthorized access to sensitive information, manipulation of server-side data, or even full server compromise if the attacker can upload and include malicious PHP files. The vulnerability has been assigned a CVSS v3.1 base score of 8.8, indicating a high severity level. The attack vector is network-based, requires low attack complexity, and does not need user interaction, making it relatively easy to exploit for authenticated users.

Remediation

  • To mitigate this vulnerability, website administrators should take the following actions:
  • 1. Update the NextGEN Gallery plugin to the latest version immediately. The vulnerability has been fixed in versions after 4.0.3.
  • 2. Implement the principle of least privilege by reviewing and restricting user roles and permissions, especially for content creation and management.
  • 3. Regularly audit and monitor file inclusion activities and PHP file executions on the server.
  • 4. Implement strong input validation and sanitization for all user-supplied data, especially in shortcode parameters.
  • 5. Consider using Web Application Firewalls (WAF) or security plugins that can detect and prevent Local File Inclusion attempts.
  • 6. Regularly backup your WordPress installation and keep all plugins, themes, and core WordPress files up to date.
  • 7. If unable to update immediately, consider temporarily disabling the NextGEN Gallery plugin until an update can be applied.

References

Industries Affected

Below is a list of industries most commonly impacted or potentially at risk based on intelligence.

Low
Mining icon
Mining
Utilities icon
Utilities
Information icon
Information
Construction icon
Construction
Retail Trade icon
Retail Trade
Manufacturing icon
Manufacturing
Wholesale Trade icon
Wholesale Trade
Educational Services icon
Educational Services
Finance and Insurance icon
Finance and Insurance
Public Administration icon
Public Administration
Real Estate Rental and Leasing icon
Real Estate Rental and Leasing
Transportation and Warehousing icon
Transportation and Warehousing
Accommodation and Food Services icon
Accommodation and Food Services
Health Care and Social Assistance icon
Health Care and Social Assistance
Arts, Entertainment, and Recreation icon
Arts, Entertainment, and Recreation
Management of Companies and Enterprises icon
Management of Companies and Enterprises
Agriculture, Forestry, Fishing and Hunting icon
Agriculture, Forestry, Fishing and Hunting
Other Services (except Public Administration) icon
Other Services (except Public Administration)
Professional, Scientific, and Technical Services icon
Professional, Scientific, and Technical Services
Administrative and Support and Waste Management and Remediation Services icon
Administrative and Support and Waste Management and Remediation Services

Focus on What Matters

See everything.Identify true risk.Proactively mitigate threats.Book a Demo

Let's talk!