CVE-2025-69166

WordPress Gunslinger theme <= 1.7 - Local File Inclusion vulnerability

Published Jun 17, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Unauthenticated Local File Inclusion in Gunslinger <= 1.7 versions.

Analysis

AI-generated

Technical impact

The issue is an unauthenticated Local File Inclusion flaw in WordPress ThemeREX Gunslinger versions 1.7 and earlier. A request parameter handled by the theme is passed directly to an include call without validation, allowing an attacker to specify any file path. This can be used to read sensitive files such as configuration files. The CVE description does not explicitly mention code execution; it only indicates that arbitrary file access is possible.

Affected Systems

All WordPress sites that have ThemeREX Gunslinger theme 1.7 or older installed and active. The vulnerability exists regardless of the underlying operating system or web server, as it is triggered by the theme’s PHP code.

Risk and Exploitability

The CVSS score of 8.1 places the flaw in the high severity category. EPSS is not available and the issue is not listed in the CISA KEV catalog. The likely attack vector is inferred to be an unauthenticated HTTP request that manipulates the include path through a vulnerable parameter. Because no authentication is required and the flaw resides in the theme code, the threat remains significant for any publicly accessible site running the affected version.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ThemeREX Gunslinger to version 1.8 or newer, or apply any vendor‑supplied patch that addresses the include logic flaw.
  • If an immediate upgrade is not possible, deactivate the Gunslinger theme and switch the site to a default WordPress theme to remove the vulnerable code from execution.
  • Modify the theme’s source code (if modification is feasible) so that all file paths supplied by users are validated against a whitelist or are restricted to safe directories before inclusion.

Generated by OpenCVE AI on June 18, 2026 at 15:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Themerex
Themerex gunslinger
Wordpress
Wordpress wordpress
Vendors & Products Themerex
Themerex gunslinger
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Unauthenticated Local File Inclusion in Gunslinger <= 1.7 versions.
Title WordPress Gunslinger theme <= 1.7 - Local File Inclusion vulnerability
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-98

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

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Jun 17, 2026, 3:28 PM
Reserved
Dec 29, 2025, 11:19 AM
Status
Deferred
Published
Jun 17, 2026, 2:17 PM
Modified
Oct 6, 2026, 10:10 PM