Skip to main content

Gunslinger Theme CVE-2025-69166

HIGH
PHP Remote File Inclusion (CWE-98)
2026-06-17 Patchstack
8.1
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Fingerprint WordPress site using Gunslinger theme
  2. Delivery
    Identify vulnerable theme include endpoint
  3. Exploit
    Send crafted request with traversal path
  4. Execution
    PHP include resolves attacker-controlled file
  5. Persist
    Disclose wp-config.php and secrets
  6. Impact
    Chain to RCE via log/session poisoning

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target WordPress site must have the ThemeRex Gunslinger theme installed and active (or at minimum have its PHP entry points reachable via wp-content/themes/gunslinger/) at version 1.7 or earlier; no WordPress user account is required (PR:N) and no victim interaction is needed (UI:N). Exploitation is limited by AC:H, which indicates an attacker-side prerequisite beyond a trivial single request - likely knowledge of the specific vulnerable parameter/endpoint and a server PHP configuration that permits the include path (e.g., absence of open_basedir restrictions); sites running WAFs like Patchstack/Wordfence with LFI rules, or with the theme disabled or replaced, are not exploitable.

Impact

The signals are mixed. CVSS 3.1 base score is 8.1 (AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:H) - unauthenticated and network-reachable with high impact across CIA, but with AC:H indicating some attacker-side condition beyond a trivial request. There is no CISA KEV listing and no public exploit identified at time of analysis, and EPSS data was not provided in the input. SSVC fields were not supplied. Realistically, WordPress LFI bugs in themes are routinely automated against exposed sites once a Patchstack advisory exists, so AC:H should not be read as 'safe'; the practical priority is high for any site still running Gunslinger <= 1.7, even though widespread mass-exploitation telemetry is not yet evident. Key data limitation: the Patchstack reference is the sole source, and the exact vulnerable parameter, fix version, and patch status are not disclosed in the provided input.

Exploit ScenarioDerived

An attacker discovers a WordPress site running the Gunslinger theme via fingerprinting (wp-content/themes/gunslinger/ paths or HTML signatures) and issues a crafted HTTP request to a vulnerable theme endpoint with a filename parameter pointing to a local file such as wp-config.php or /etc/passwd. The PHP include resolves the traversal path and returns or executes the file contents, exposing database credentials and WordPress secret keys; with allow_url_include or log/session poisoning available, the attacker chains the disclosure into arbitrary PHP execution under the web user. No public exploit identified at time of analysis, but the bug class is straightforward to weaponize once the vulnerable parameter is identified from the Patchstack advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 17, 2026

Unauthenticated local file inclusion in the ThemeRex Gunslinger WordPress theme through version 1.7 allows remote attackers to coerce PHP into including arbitrary files from the server filesystem, leading to disclosure of sensitive files and potential remote code execution where attacker-influenced content can be staged. No public exploit identified at time of analysis, but the flaw is reachable without authentication and affects all installations running version 1.7 or earlier of the theme.

RemediationAI

No vendor-released patch identified at time of analysis from the provided data - consult the Patchstack advisory (https://patchstack.com/database/wordpress/theme/gunslinger/vulnerability/wordpress-gunslinger-theme-1-7-local-file-inclusion-vulnerability) for the latest fixed-version information and upgrade Gunslinger beyond 1.7 once an update is published by ThemeRex. Until a patched release is confirmed, deactivate and replace the Gunslinger theme on production sites (acknowledging this changes the front-end appearance), or place the site behind a WAF such as Patchstack/Wordfence with virtual patching enabled and block requests containing path traversal sequences and PHP wrapper schemes (../, ..\, php://, file://, data://, expect://, zip://) targeting theme endpoints. Harden PHP by setting allow_url_include=Off and open_basedir to restrict the filesystem visible to the web user (trade-off: may break legitimate plugins that read outside the WordPress root), and restrict direct access to theme PHP files via .htaccess/nginx rules where possible.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Gunslinger is a commercial WordPress theme published by ThemeRex (CPE cpe:2.3:a:themerex:gunslinger). The root cause is CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program, aka PHP Remote File Inclusion), where a PHP include/require statement consumes a request-controlled path without proper validation or allowlisting. In WordPress themes this pattern typically appears in template loader endpoints, AJAX handlers, or framework files that route a parameter to include(), enabling traversal to local PHP files and, depending on PHP configuration (allow_url_include, log poisoning, session/upload file primitives), escalation to code execution.

Know when Gunslinger gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Patchstack) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Network-reachable unauthenticated LFI (AV:N/PR:N/UI:N); AC:H reflects needing the specific vulnerable parameter; high confidentiality via file disclosure, lower I/A absent confirmed RCE.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Unauthenticated Local File Inclusion in Gunslinger <= 1.7 versions.

Executive ViewAI

Why It Matters

The ThemeRex Gunslinger WordPress theme contains an unauthenticated local file inclusion vulnerability (CVE-2025-69166, CVSS 8.1) affecting all versions through 1.7, enabling any internet user to extract sensitive server files and potentially execute arbitrary code. With no vendor patch available and the flaw present in thousands of WordPress installations, organizations using this theme face immediate risk of data breach and site compromise. This requires urgent inventory and remediation across all affected deployments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable and remove ThemeRex Gunslinger theme; replace with security-reviewed alternative; (2) Deploy WAF blocking path traversal (../, %2e%2e, file:// protocol); (3) Disable PHP execution in wp-content/uploads and cache directories via .htaccess or web server configuration; (4) Implement restrictive file permissions (chmod 600) on wp-config.php and sensitive backups; (5) Enable web server access logging with alerting on suspicious file-access patterns.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:themerex:gunslinger:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy