CVE-2026-22521
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-22521 is a PHP Local File Inclusion (LFI) vulnerability in the G5Theme Handmade Framework WordPress plugin, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects all versions of the Handmade Framework plugin through version 3.9. The vulnerability was disclosed on January 8, 2026, with the CVE record received from Patchstack and last modified on April 23, 2026. It carries a CVSS v3.1 base score of 7.5 (High), assigned by Patchstack (Patchstack).

Technical details

The root cause is improper control of filename parameters used in PHP include/require statements within the Handmade Framework plugin (CWE-98), which allows an attacker to manipulate file path inputs to include arbitrary local files from the server. The attack vector is network-based, requiring low privileges (authenticated user) and no user interaction, but with high attack complexity. By supplying a crafted filename or path parameter to a vulnerable plugin endpoint, an authenticated attacker can cause the PHP interpreter to include sensitive local files — potentially leading to code execution if writable files or upload directories are leveraged (Patchstack).

Impact

Successful exploitation grants an authenticated attacker high impact across confidentiality, integrity, and availability. An attacker can read sensitive server files (e.g., WordPress wp-config.php containing database credentials), and if combined with a file upload capability, may achieve arbitrary PHP code execution on the server. This could lead to full site compromise, data exfiltration, and potential lateral movement within the hosting environment (Patchstack).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.127%, indicating a low probability of exploitation in the near term. No threat actor attribution has been identified, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access, which raises the bar compared to unauthenticated vulnerabilities (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the G5Theme Handmade Framework plugin version 3.9 or earlier using tools like WPScan or by checking the plugin's readme.txt file at https://target.com/wp-content/plugins/handmade-framework/readme.txt.
  2. Obtain authenticated access: Register or log in as a low-privileged WordPress user (e.g., subscriber role), as the vulnerability requires authentication.
  3. Identify vulnerable parameter: Locate the plugin endpoint or functionality that accepts a filename or path parameter passed to a PHP include/require statement.
  4. Craft LFI payload: Submit a crafted request with a path traversal payload (e.g., ../../../../wp-config.php) in the vulnerable filename parameter to read sensitive files.
  5. Escalate to code execution (optional): If a file upload feature is accessible, upload a PHP web shell, then use the LFI to include the uploaded file and achieve remote code execution on the server (Patchstack).

Indicators of compromise

  • Network: HTTP requests to WordPress plugin endpoints containing path traversal sequences (e.g., ../, ..%2F, ....//) in filename or path parameters; unusual GET/POST requests to Handmade Framework plugin URLs.
  • Logs: WordPress or web server access logs showing requests with encoded path traversal strings targeting plugin endpoints; repeated 200 responses to requests with suspicious file path parameters.
  • File System: Unexpected PHP files in upload directories (potential web shells); access to sensitive files like wp-config.php reflected in server error logs or output.
  • Process: Unusual PHP child processes spawned by the web server process; unexpected outbound network connections from the web server.

Mitigation and workarounds

Users should update the G5Theme Handmade Framework WordPress plugin to a version beyond 3.9 if a patched release is available from the plugin vendor. If no patched version is yet available, site administrators should consider deactivating and removing the plugin until a fix is released. Additionally, restricting authenticated access to trusted users only and implementing a Web Application Firewall (WAF) rule to block path traversal patterns can reduce exposure (Patchstack, Wordfence).

Community reactions

The vulnerability was included in Wordfence's weekly WordPress vulnerability report for January 5–11, 2026, and was referenced in the CISA vulnerability bulletin for the week of January 5, 2026. Social media mentions were observed on Mastodon and Bluesky via TheHackerWire. Overall community reaction has been limited, consistent with the low EPSS score and absence of active exploitation reports (Wordfence, CISA Bulletin).

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-15451HIGH8.8
  • memberpress-corporate
NoYesSep 12, 2026
CVE-2026-16593MEDIUM6.8
  • wpdirectorykit
NoNoSep 12, 2026
CVE-2026-10148MEDIUM6.4
  • ameliabooking
NoYesSep 12, 2026
CVE-2026-18232MEDIUM5.3
  • wpdirectorykit
NoNoSep 12, 2026
CVE-2026-16592LOW3.1
  • wpdirectorykit
NoNoSep 12, 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