CVE-2026-22502
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-22502 is a PHP Local File Inclusion (LFI) vulnerability in the AncoraThemes Mr. Cobbler WordPress theme, caused by improper control of filenames in PHP include/require statements (CWE-98). It affects all versions of the Mr. Cobbler theme up to and including 1.1.9. The vulnerability was published on March 25, 2026, and assigned by Patchstack. It carries a CVSS v3.1 base score of 8.1 (High) (Feedly, Patchstack).

Technical details

The root cause is classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), where user-supplied input is passed unsanitized to PHP's include or require statements, enabling an attacker to specify arbitrary local file paths. The attack vector is network-based, requires no authentication or user interaction, and has high attack complexity. By manipulating the filename parameter, an attacker can cause the PHP interpreter to include sensitive local files from the server's filesystem (Feedly).

Impact

Successful exploitation allows unauthenticated remote attackers to read sensitive files on the server (e.g., configuration files containing credentials, /etc/passwd) and potentially execute arbitrary PHP code if writable files or upload directories can be leveraged. This results in high confidentiality, integrity, and availability impact, potentially leading to full server compromise, credential theft, and lateral movement within the hosting environment (Feedly).

Exploitability

There is currently no public proof-of-concept exploit code and no evidence of in-the-wild exploitation as of the time of reporting. The EPSS score is approximately 0.053%, indicating a low but non-zero probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No specific threat actor attribution has been made (Feedly).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites using the Mr. Cobbler theme (version ≤ 1.1.9) via passive scanning tools such as WPScan, Shodan, or by inspecting theme metadata in publicly accessible style.css files.
  2. Identify vulnerable parameter: Locate the theme's PHP code path that passes user-controlled input to an include or require statement without proper sanitization or validation.
  3. Craft malicious request: Send a crafted HTTP request (GET or POST) to the vulnerable endpoint, supplying a manipulated filename parameter pointing to a sensitive local file (e.g., ../../../../wp-config.php or /etc/passwd).
  4. Extract sensitive data: Review the server's HTTP response for the contents of the included file, which may expose database credentials, secret keys, or other sensitive configuration data.
  5. Escalate if possible: If the server allows inclusion of attacker-controlled files (e.g., via uploaded files), attempt to include a PHP web shell to achieve remote code execution (Feedly).

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 or plaintext directory traversal patterns targeting theme-related PHP files; repeated 200 responses to unexpected file paths.
  • File System: Unexpected PHP files or web shells in the WordPress uploads directory or theme folder; recently modified theme PHP files.
  • Process: Unusual PHP child processes spawned by the web server user (e.g., www-data) executing system commands or making outbound network connections.

Mitigation and workarounds

Update the AncoraThemes Mr. Cobbler WordPress theme to a version later than 1.1.9, which contains the patch for this vulnerability. Until an update can be applied, consider deactivating the theme and switching to an alternative, or implementing a Web Application Firewall (WAF) rule to block requests containing path traversal sequences targeting theme endpoints. Review web server access logs for any suspicious file inclusion attempts that may indicate prior exploitation (Feedly, Patchstack).

Community reactions

The vulnerability was noted in the Wordfence Intelligence Weekly WordPress Vulnerability Report for the week of March 2–8, 2026, and catalogued by VulDB. No significant broader media coverage or notable researcher commentary has been identified beyond standard vulnerability database entries (Feedly).

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-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 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