Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-22420
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-22420 is a PHP Local File Inclusion (LFI) vulnerability in the AncoraThemes Horizon WordPress theme, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects all versions of the Horizon theme through version 1.1. The vulnerability was published on March 5, 2026, and was reported by Patchstack. It carries a CVSS v3.1 base score of 8.1 (High) (Feedly, Patchstack).

Technical details

The root cause is improper control of filenames passed to PHP include/require statements within the Horizon theme (CWE-98), which allows an attacker to manipulate file path parameters to include arbitrary local files on the server. The attack vector is network-based, requires no authentication or user interaction, but has high attack complexity. An attacker must be able to supply a crafted filename or path parameter to the vulnerable theme functionality to trigger the local file inclusion (Feedly).

Impact

Successful exploitation could allow an attacker to read sensitive files on the server (e.g., configuration files containing credentials, /etc/passwd), leading to significant information disclosure. If combined with a file upload vulnerability or other weaknesses, the LFI could be escalated to remote code execution. The confidentiality, integrity, and availability impacts are all rated High, indicating potential for full compromise of the affected WordPress installation (Feedly).

Exploitability

There is currently no public proof-of-concept exploit available, and no evidence of in-the-wild exploitation has been reported. The EPSS score is approximately 0.053%, indicating a low probability of exploitation in the near term. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been identified (Feedly).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the AncoraThemes Horizon theme version 1.1 or earlier, using tools like WPScan or by inspecting theme metadata in the site's source code.
  2. Identify vulnerable parameter: Analyze the Horizon theme's PHP code or observed HTTP requests to locate parameters that are passed unsanitized to PHP include/require statements.
  3. Craft malicious request: Construct an HTTP request with a manipulated filename parameter (e.g., using path traversal sequences such as ../../) targeting a sensitive local file (e.g., ../../../../wp-config.php or /etc/passwd).
  4. Trigger file inclusion: Submit the crafted request to the vulnerable endpoint on the target WordPress site and observe the server response for the contents of the included file.
  5. Escalate if possible: If a writable directory is accessible and file upload is possible, upload a PHP web shell and use the LFI to include and execute it, achieving remote code execution (Feedly).

Indicators of compromise

  • Network: Unusual HTTP GET or POST requests to WordPress theme endpoints containing path traversal sequences (e.g., ../, ..%2F, %2e%2e%2f) in query parameters or POST body.
  • Logs: Web server access logs showing requests with encoded path traversal patterns targeting theme PHP files; repeated 200 responses to requests with suspicious filename parameters.
  • File System: Unexpected PHP files or web shells in the WordPress uploads directory or theme directory; access timestamps on sensitive files (e.g., wp-config.php) updated unexpectedly.
  • Process: Unusual PHP process activity reading files outside the WordPress root directory.

Mitigation and workarounds

No patch is currently available for the AncoraThemes Horizon theme beyond version 1.1. Site administrators should consider disabling or replacing the Horizon theme until a patched version is released. As interim mitigations, restrict access to the WordPress admin panel, review and tighten file system permissions, and monitor web server logs for suspicious file inclusion attempts. Upgrading to a patched version when released by AncoraThemes is the recommended long-term remediation (Feedly, Patchstack).

Community reactions

The vulnerability was noted in the Wordfence Intelligence Weekly WordPress Vulnerability Report covering the period of February 23 to March 1, 2026, indicating it received standard coverage within the WordPress security community. No significant vendor statements or notable researcher commentary beyond routine disclosure have been identified (Wordfence).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-85009MEDIUM6.5
  • restropress
NoNoSep 16, 2026
CVE-2026-85010MEDIUM5.3
  • restropress
NoYesSep 16, 2026
CVE-2026-86475MEDIUM5.3
  • appointment-hour-booking
NoYesSep 16, 2026
CVE-2026-84906MEDIUM5.3
  • wp-event-solution
NoYesSep 16, 2026
CVE-2026-16557MEDIUM4.3
  • nimble-builder
NoNoSep 16, 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