CVE-2025-58885CWE-98

CVE-2025-58885

High · published December 18, 2025

CVSS v3.1
8.1
EPSS
1%
Percentile
44.3
In the wild
Unconfirmed
What it is

⚡ A simple oversight with file handling in AncoraThemes Pathfinder could leave your server vulnerable to remote file inclusion—like allowing a guest to choose the menu items for a dinner party! 🍽️ Imagine hosting a dinner party but letting a guest determine all the food—including the ingredients. If they're sneaky, they could slip in something completely unexpected! This vulnerability operates on that same principle, where improper filename control allows attackers to include arbitrary files. An attacker could leverage this flaw to include malicious files on your server, potentially leading to data breaches or a complete system compromise. It's a nightmare scenario where your trusted application becomes a gateway for unwanted guests, jeopardizing everything you've worked for.

Put simply

Imagine hosting a dinner party but letting a guest determine all the food—including the ingredients. If they're sneaky, they could slip in something completely unexpected! This vulnerability operates on that same principle, where improper filename control allows attackers to include arbitrary files. This vulnerability allows for Local File Inclusion (LFI) due to improper control of filenames used in PHP's 'include' or 'require' statements. This can lead to unauthorized access to sensitive files if an attacker can manipulate the input.

What to do

An attacker could leverage this flaw to include malicious files on your server, potentially leading to data breaches or a complete system compromise. It's a nightmare scenario where your trusted application becomes a gateway for unwanted guests, jeopardizing everything you've worked for. Immediately update the Pathfinder theme to version 1.17 or higher to patch this vulnerability. Additionally, ensure that strict validation is implemented for any user-supplied input to avoid similar issues in the future. You've got this! With these steps, you'll be securing your application in no time and reinforcing your security hero status! 🦸

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00535 · 44.3th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2025-12-18T13:15Z
Affected products (1)
ProductVersionsFixed in
ancorathemes/pathfinder≤ 1.16—
References (1)
EPSS history
Timeline
  • 18 DEC 07:21Z
    WordPress Pathfinder theme <= 1.16 - Local File Inclusion vulnerability
    cvelistv5