Kayon WordPress Theme CVE-2026-28027
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site running Kayon ≤1.3
-
DeliverySend crafted request with path traversal to theme endpoint
-
ExploitExploit inadequate input validation in include/require
-
InstallRead sensitive files (wp-config.php, logs)
-
C2Poison accessible log file with PHP payload
-
ExecuteRe-include poisoned file via LFI
-
ImpactExecute arbitrary PHP code as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Kayon theme version 1.3 or earlier must be the active WordPress theme on the target site. The AC:H rating indicates additional prerequisites beyond default installation: likely requires specific theme features to be enabled, particular URL parameters or template loading mechanisms to be accessible, or knowledge of internal file path structures on the target server. PHP configuration must permit file inclusion operations with sufficient permissions to read target files. The description specifies 'PHP Local File Inclusion' despite network attack vector, confirming exploitation reads local server files rather than including remote URLs, suggesting allow_url_include may be disabled (common security hardening) but local file operations remain possible. Successful data exfiltration requires targeted files (wp-config.php, .htaccess, application logs) to exist at predictable or discoverable paths. Escalation to code execution demands additional conditions: writable log files for poisoning techniques, enabled PHP wrappers (php://, data://, expect://), or ability to upload files subsequently included via LFI. No user interaction (UI:N) required means exploitation succeeds through direct HTTP requests without phishing or admin actions. |
| Impact | CVSS 8.1 (High) indicates significant potential impact with high complexity exploitation requirements. The vector analysis reveals network-accessible attack surface (AV:N) requiring no authentication (PR:N) or user interaction (UI:N), but demands high attack complexity (AC:H) - suggesting specific server configurations, enabled PHP features, or precise knowledge of file paths is required. EPSS probability of 0.15% places this in the 36th percentile, indicating security researchers and automated scanners consider this moderately likely to be exploited compared to other vulnerabilities. The discrepancy between high CVSS score and moderate EPSS ranking suggests technical barriers reduce real-world exploitation likelihood despite severe theoretical impact. No CISA KEV listing confirms this is not currently part of active widespread attack campaigns. Patchstack tracking indicates this affects production WordPress sites using the Kayon theme. Primary risk factors: WordPress themes are public-facing components, LFI can expose sensitive configuration files (wp-config.php containing database credentials), and successful exploitation enables lateral movement within hosting environments. Mitigating factors: AC:H rating suggests default configurations may not be vulnerable, and WordPress-specific hardening (proper file permissions, disabled PHP wrappers) significantly reduces attack surface. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies a WordPress site running Kayon theme version 1.3 through reconnaissance of theme stylesheets or HTML comments. The attacker crafts HTTP requests with path traversal sequences targeting vulnerable include/require statements in theme files, attempting to read /etc/passwd to confirm LFI or access wp-config.php to extract database credentials. With successful file disclosure, the attacker escalates by poisoning Apache access logs with PHP code and including the log file via the LFI vector, achieving remote code execution. High attack complexity (AC:H) suggests success requires knowledge of specific vulnerable parameters, exact file paths on the target system, or particular PHP configuration settings like enabled wrappers, making exploitation non-trivial but achievable for skilled attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Apr 23, 2026
Local file inclusion in ThemeREX Kayon WordPress theme versions through 1.3 enables remote attackers to read arbitrary files from the web server filesystem and potentially execute PHP code. Despite network-reachable attack vector (CVSS AV:N), exploitation requires high complexity conditions (AC:H) without authentication, resulting in a moderate EPSS score of 0.15% (36th percentile). Patchstack database lists this as an actively tracked vulnerability affecting WordPress installations, though no CISA KEV listing indicates limited widespread exploitation at time of analysis.
Earlier versions of this analysis (2)
Local File Inclusion vulnerability in ThemeREX Kayon WordPress theme through version 1.3 allows remote unauthenticated attackers to include arbitrary PHP files and potentially execute code. Patchstack reported this CWE-98 flaw with CVSS 8.1 (High), though EPSS scoring indicates only 0.15% exploitation probability (36th percentile), suggesting low real-world targeting despite the severity. No CISA KEV listing confirms active exploitation, but the vulnerability class (PHP file inclusion) is historically attractive for web shell deployment and site compromise.
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Kayon kayon allows PHP Local File Inclusion.This issue affects Kayon: from n/a through <= 1.3. [CVSS 8.1 HIGH]
RemediationAI
Upgrade Kayon theme to a version newer than 1.3 if ThemeREX has released a patched version - consult the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/kayon/vulnerability/wordpress-kayon-theme-1-3-local-file-inclusion-vulnerability for latest patch status, as no specific fixed version number is confirmed in NVD data. If no patch exists or immediate upgrade is not feasible, implement these compensating controls: disable the Kayon theme and switch to a maintained alternative WordPress theme until patches are available (eliminates attack surface entirely but requires theme migration effort and potential design changes); restrict PHP file inclusion capabilities by setting allow_url_include=Off and open_basedir restrictions in php.ini to limit file access scope (reduces LFI impact but may break legitimate theme functionality requiring testing); implement web application firewall rules to detect and block path traversal attempts in HTTP requests targeting theme endpoints (defense-in-depth measure but can be bypassed with encoding techniques); ensure wp-config.php and other sensitive files have restrictive permissions (640 or 600) and are located outside web root where possible (limits information disclosure if LFI succeeds but doesn't prevent exploitation). Monitor WordPress access logs for suspicious patterns like '../' sequences or unexpected file parameters in theme-related requests. Note that theme switching represents the most reliable mitigation but requires visual/functional equivalence validation.
Affected ProductsAI
ThemeREX Kayon WordPress theme versions from earliest release through version 1.3 are confirmed vulnerable per Patchstack vulnerability database. This affects WordPress installations where Kayon is the active theme. The vulnerability resides in theme code rather than WordPress core, limiting exposure to sites specifically using this commercial theme product. Patchstack reference URL indicates ongoing tracking at https://patchstack.com/database/Wordpress/Theme/kayon/vulnerability/wordpress-kayon-theme-1-3-local-file-inclusion-vulnerability, though no vendor-issued security advisory from ThemeREX is referenced in available data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from CWE-98 (Improper Control of Filename for Include/Require Statement), commonly known as PHP file inclusion. The Kayon theme, developed by ThemeREX for WordPress, fails to properly validate or sanitize user-supplied input before passing it to PHP include/require functions. While classified as 'PHP Remote File Inclusion' in the title, Patchstack tags and technical indicators confirm this is actually a Local File Inclusion (LFI) vulnerability. LFI attacks exploit insufficient input validation in PHP file handling to access files outside the intended directory structure, typically using path traversal sequences. The affected product operates within the WordPress theming framework, where themes often dynamically load template files based on user requests or configuration parameters. The high CVSS score reflects potential for complete confidentiality, integrity, and availability compromise if an attacker chains LFI with other techniques like log poisoning or PHP wrapper exploitation to achieve code execution.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Kayon kayon allows PHP Local File Inclusion.This issue affects Kayon: from n/a through <= 1.3.
Executive ViewAI
ThemeREX Kayon WordPress theme versions 1.3 and earlier contain a local file inclusion vulnerability (CVE-2026-28027) that could allow attackers to read sensitive files from affected web servers, potentially exposing customer data, configuration credentials, and database information. Organizations running this theme face direct risk to confidentiality of hosted content and backend systems, with impact severity increasing if WordPress installations contain sensitive business or customer information.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement WAF rules blocking directory traversal patterns (../, ..\ sequences); (2) Restrict file read permissions on sensitive configuration directories to WordPress process user only; (3) Disable PHP execution in wp-content/ directories via .htaccess or web server configuration; (4) Monitor access logs for suspicious file inclusion attempts; (5) Consider immediate theme replacement if patch unavailable within 30 days.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB