Junglewise Threat Intelligence

CVE-2025-58902: AncoraThemes Lighthouse Local File Inclusion

CVE-2025-58902 · Severity: high · CVSS 8.1 · Published 2026-07-02

Executive brief

The Lighthouse theme for WordPress is vulnerable to a security flaw that allows unauthorized users to access sensitive files on the web server. By exploiting this vulnerability, an attacker could view internal configuration files, such as those containing database credentials, potentially leading to a full takeover of the website and its data. As of the latest report, no official patch has been released by the developer.

Technical details

A Local File Inclusion (LFI) vulnerability exists in the AncoraThemes Lighthouse theme for WordPress (versions 1.2.12 and below) due to improper control of filenames in PHP include/require statements (CWE-98). An unauthenticated remote attacker can exploit this by sending crafted requests to include local files from the server's filesystem. Successful exploitation can lead to the disclosure of sensitive information, such as wp-config.php, or potentially remote code execution if combined with other techniques like log poisoning. At the time of disclosure, no official patch is available, though third-party mitigation rules have been proposed.

Affected products

  • AncoraThemes Lighthouse Theme <= 1.2.12

Timeline

  • 2025-07-24: other: Vulnerability reported by researcher to Patchstack
  • 2026-06-29: advisory: Patchstack advisory published
  • 2026-07-02: disclosed: CVE published in NVD dataset

References