CVE-2025-58225
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-58225 is a Local File Inclusion (LFI) vulnerability in the Paragon WordPress theme by Axiomthemes, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects all versions of the Paragon theme up to and including version 1.1, with no official patch available as of the time of disclosure. The vulnerability was reported by researcher "Bonds" on August 3, 2025, and published by Patchstack on September 2, 2025. It carries a CVSS v3.1 base score of 8.1 (High), exploitable remotely without authentication (Patchstack).

Technical details

The root cause is improper control of filename handling in PHP include/require statements within the Paragon theme (CWE-98), which allows user-supplied input to influence which local files are included by the PHP interpreter. An unauthenticated remote attacker can craft a malicious HTTP request that manipulates a file path parameter, causing the server to include and potentially execute arbitrary local PHP files. The attack vector is network-based, requires no privileges or user interaction, and has high attack complexity. No public proof-of-concept exploit code has been identified at this time (Patchstack).

Impact

Successful exploitation allows an attacker to read sensitive local files on the server — including configuration files containing database credentials — which could lead to complete database takeover. Depending on server configuration, an attacker may also be able to execute arbitrary PHP code by including files with attacker-controlled content (e.g., uploaded files), potentially resulting in full server compromise. The vulnerability affects confidentiality, integrity, and availability at a high level, and could facilitate lateral movement within a hosting environment (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.115%, indicating a low current probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, Patchstack classifies it as high priority, noting that vulnerabilities of this type are commonly used in mass-exploit campaigns targeting WordPress sites regardless of traffic or popularity (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the Paragon theme (version ≤ 1.1) via tools like WPScan, Shodan, or by inspecting HTTP response headers and page source for theme indicators.
  2. Identify vulnerable parameter: Locate a theme-controlled PHP file inclusion point that accepts user-supplied input for a file path or template name parameter in an HTTP request.
  3. Craft malicious request: Send a crafted HTTP GET or POST request to the vulnerable endpoint with a manipulated file path parameter (e.g., path traversal sequences like ../../wp-config.php) to reference sensitive local files.
  4. Read sensitive files: If successful, the server returns the contents of the targeted file (e.g., wp-config.php containing database credentials) in the HTTP response.
  5. Escalate to code execution: If the server allows inclusion of attacker-uploaded files (e.g., via a media upload), include a PHP web shell to achieve remote code execution and full server control (Patchstack).

Indicators of compromise

  • Network: Unusual HTTP requests to WordPress theme endpoints containing path traversal sequences (e.g., ../, ..%2F, %2e%2e%2f) in query parameters or POST body fields.
  • Logs: Web server access logs showing requests with encoded path traversal patterns targeting theme template or file inclusion parameters; HTTP 200 responses to requests referencing sensitive files like wp-config.php.
  • File System: Unexpected PHP files or web shells in the WordPress uploads directory or theme directory; newly created files with unusual names or extensions.
  • Process: Unusual child processes spawned by the web server process (e.g., bash, curl, wget) indicating potential code execution following LFI exploitation.

Mitigation and workarounds

No official patch from Axiomthemes is available for the Paragon theme as of the disclosure date; users should contact the vendor directly for remediation status. Patchstack has issued a virtual patching/mitigation rule for its subscribers to block exploitation attempts until an official fix is released. As interim measures, administrators should implement strict input validation for file inclusion mechanisms, use allowlist-based file path controls, disable PHP remote file inclusion (allow_url_include = Off in php.ini), and deploy a Web Application Firewall (WAF) with LFI detection rules. Sites unable to remove or replace the theme should consider restricting access to the WordPress installation at the network level (Patchstack).

Community reactions

Patchstack, which discovered and disclosed the vulnerability through researcher "Bonds," has classified it as high priority and issued a virtual mitigation rule for its platform users. No significant public commentary from other security researchers or media coverage has been identified at this time.

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-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 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