# CVE-2025-69166: ThemeREX Gunslinger Local File Inclusion

Source: https://junglewise.ai/threats/cve-2025-69166-themerex-gunslinger-local-file-inclusion  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-17. Updated: 2026-06-20  
License: CC BY 4.0 with a link back

CVE-2025-69166 · Severity: high · CVSS 8.1 · Published 2026-06-17

The Gunslinger theme for WordPress is vulnerable to a security flaw that allows unauthorized individuals to access sensitive files on the web server. By exploiting this vulnerability, an attacker could view configuration files containing database credentials, potentially leading to a full site takeover or data breach. There is currently no official patch available from the developer.

Vendors: [ThemeREX](https://junglewise.ai/threats/vendors/themerex).

## Quick answers

**Is CVE-2025-69166 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-69166 being exploited in the wild.

**How severe is CVE-2025-69166?** High severity, with a CVSS score of 8.1, published 17 June 2026.

**Which products and versions are affected?** ThemeREX Gunslinger <= 1.7.

**Is there a fix for CVE-2025-69166?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-69166 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2025-69166?** Check whether you run ThemeREX Gunslinger at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A Local File Inclusion (LFI) vulnerability exists in the ThemeREX Gunslinger theme for WordPress through version 1.7. The flaw stems from improper control of filenames in PHP include/require statements (CWE-98), allowing an unauthenticated remote attacker to include arbitrary local files via specially crafted requests. While the attack complexity is rated as high, successful exploitation can lead to the disclosure of sensitive information such as wp-config.php or other system files, potentially facilitating remote code execution or database compromise. As of the advisory date, no official patch has been released.

## Affected products

- ThemeREX Gunslinger <= 1.7

## Timeline

- 2025-11-09: other: Vulnerability reported by researcher Bonds
- 2026-05-27: advisory: Initial disclosure by Patchstack
- 2026-06-17: disclosed: CVE published and added to NVD

## References

- [https://wordpress.org/themes](https://wordpress.org/themes)
- [https://patchstack.com/database/wordpress/theme/gunslinger/vulnerability/wordpress-gunslinger-theme-1-7-local-file-inclusion-vulnerability?_s_id=cve](https://patchstack.com/database/wordpress/theme/gunslinger/vulnerability/wordpress-gunslinger-theme-1-7-local-file-inclusion-vulnerability?_s_id=cve)
