Gunslinger Theme
CVE-2025-69166
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFingerprint WordPress site using Gunslinger theme
-
DeliveryIdentify vulnerable theme include endpoint
-
ExploitSend crafted request with traversal path
-
ExecutionPHP include resolves attacker-controlled file
-
PersistDisclose wp-config.php and secrets
-
ImpactChain 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Unauthenticated Local File Inclusion in Gunslinger <= 1.7 versions.
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB