Gunslinger Theme
CVE-2025-69166
HIGH
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
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
1DescriptionCVE.org
Unauthenticated Local File Inclusion in Gunslinger <= 1.7 versions.
AnalysisAI
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.
Technical ContextAI
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.
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.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-98 – PHP Remote File Inclusion
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today