CVE-2025-58885
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-58885 is a Local File Inclusion (LFI) vulnerability in the AncoraThemes Pathfinder WordPress theme, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects all versions of the Pathfinder theme through 1.16 and allows unauthenticated remote attackers to include and execute arbitrary local files on the server. The vulnerability was reported by Tran Nguyen Bao Khanh (VCI - VNPT Cyber Immunity) on July 24, 2025, and published by Patchstack on August 23, 2025. It carries a CVSS v3.1 base score of 8.1 (High) (Patchstack).

Technical details

The root cause is improper control of filenames used in PHP include/require statements within the Pathfinder theme (CWE-98), which allows user-supplied input to influence which local file is included and executed. An unauthenticated attacker can send a crafted network request that manipulates the filename parameter, causing the PHP interpreter to include arbitrary local files from the server's filesystem. No authentication or user interaction is required, though the attack complexity is rated High, suggesting some precondition or constraint must be met (e.g., specific server configuration or parameter guessing). No public proof-of-concept code has been identified at this time (Patchstack).

Impact

Successful exploitation allows an attacker to read and potentially execute arbitrary local files on the web server, including sensitive configuration files such as wp-config.php (which contains database credentials), application source code, and system files like /etc/passwd. This can lead to full database compromise, credential theft, and further lateral movement within the hosting environment. The vulnerability has high impact across confidentiality, integrity, and availability dimensions (Patchstack).

Exploitability

There is no known public proof-of-concept exploit and no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.053%, indicating a low current probability of exploitation. No threat actor attribution or CISA KEV catalog listing has been identified. Patchstack notes that vulnerabilities of this class (LFI with CVSS 8.1) are frequently used in mass-exploit campaigns targeting WordPress sites at scale, making timely patching important (Patchstack).

Mitigation and workarounds

No official patch from AncoraThemes has been released as of the publication date; the Pathfinder theme versions through 1.16 remain vulnerable. Patchstack has issued a virtual patching/mitigation rule for its subscribers to block exploitation attempts until an official fix is available. Administrators should immediately update the Pathfinder theme if a patched version above 1.16 becomes available, or consider replacing the theme. Additional mitigations include implementing Web Application Firewall (WAF) rules to detect and block LFI patterns, enforcing strict input validation on file inclusion operations, and reviewing server logs for suspicious file access patterns (Patchstack).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management