
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-58927 is a Local File Inclusion (LFI) vulnerability in the Stallion WordPress theme developed by Axiomthemes. It stems from improper control of filename parameters in PHP include/require statements (CWE-98), allowing unauthenticated network attackers to include arbitrary local files on the server. All versions of the Stallion theme up to and including 1.17 are affected. The vulnerability was reported on July 23, 2025, and publicly disclosed on August 22, 2025, with no official patch available as of the disclosure date. It carries a CVSS v3.1 base score of 8.1 (High) (Patchstack).
The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), which maps to OWASP Top 10 category A3: Injection. The flaw exists because the Stallion theme passes user-controlled input directly into PHP file inclusion functions (include or require) without adequate sanitization or validation, enabling an attacker to manipulate the file path parameter to reference sensitive local files on the server. Exploitation requires no authentication and no user interaction, but is rated as high complexity (AC:H), 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 (Patchstack).
Successful exploitation allows an attacker to read arbitrary local files on the web server, including sensitive configuration files such as wp-config.php (which contains database credentials), /etc/passwd, and other system files. Access to database credentials could enable complete database takeover, exposure of user data, and further lateral movement within the hosting environment. In certain server configurations, LFI vulnerabilities can be chained with log poisoning or other techniques to achieve remote code execution, potentially resulting in full compromise of the WordPress site and underlying server (Patchstack).
As of the disclosure date, there is no public proof-of-concept exploit and no confirmed evidence of in-the-wild exploitation (Patchstack). The EPSS score is approximately 0.0015 (0.15%), indicating a currently low probability of exploitation in the near term. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack notes that vulnerabilities of this class and severity are frequently used in mass-exploit campaigns targeting WordPress sites at scale, regardless of site popularity.
/wp-content/themes/stallion/style.css).../../../../wp-config.php or ../../../../etc/passwd) in the vulnerable parameter.wp-config.php) to access the database or WordPress admin panel, or attempt log poisoning to escalate to remote code execution (Patchstack).../, ..%2F, %2e%2e%2f) in query parameters; requests returning unexpected file content (e.g., PHP configuration data)./wp-content/themes/stallion/) or uploads directory; modification timestamps on theme files inconsistent with legitimate updates./etc/passwd, /proc/self/environ) or wp-config.php.No official patch from Axiomthemes was available as of the August 22, 2025 disclosure; administrators should monitor for an updated version beyond 1.17 and apply it immediately when released. As an interim measure, Patchstack has issued a virtual patching/mitigation rule for subscribers that blocks exploitation attempts without requiring a code-level fix. Additional workarounds include deploying a Web Application Firewall (WAF) configured to block path traversal and LFI patterns, auditing and restricting PHP file system permissions, and temporarily disabling the Stallion theme if no mitigation is in place. Strict input validation for all file inclusion operations should be enforced at the application level (Patchstack).
The vulnerability was discovered and reported by a researcher credited as "Bonds" through Patchstack's vulnerability disclosure program on July 23, 2025, and published on August 22, 2025. Patchstack classified it as high priority and noted that LFI vulnerabilities of this severity are commonly leveraged in mass-exploit campaigns against WordPress sites. No significant vendor statement from Axiomthemes, broader media coverage, or notable social media discussion has been identified at this time (Patchstack).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."