Kastell WordPress Theme
CVE-2026-52707
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site using Kastell theme
-
DeliverySend crafted request with traversal payload
-
ExploitBypass theme path sanitization
-
ExecutionRead or include arbitrary local file
-
PersistExfiltrate wp-config.php credentials
-
ImpactPivot to database or RCE via log poisoning
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path traversal prevention
|
| Exploitation Conditions | Target must be a WordPress site running the Mikado-Themes Kastell theme at version 2.0 or earlier with the vulnerable theme code reachable over HTTP (theme activated, or its files still accessible under /wp-content/themes/kastell/). No authentication is required (CVSS PR:N) and no user interaction is needed (UI:N), but AC:H indicates a non-trivial payload - likely a specific traversal-encoding sequence consistent with CWE-35's '.../...//' pattern that defeats the theme's sanitization filter. Exploitation is limited by PHP's open_basedir or chroot configuration, by the absence of writable/controllable files for include-based RCE escalation, and by any WAF that normalises traversal sequences before the request reaches PHP. |
| Impact | The CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N rates the issue High (8.1) with full C/I/A impact, reflecting that an unauthenticated network attacker can compromise the WordPress site if the exploit conditions are met; the High attack complexity hints that a specific payload encoding or precondition is required to bypass sanitization. No EPSS score, KEV listing, or POC has been published in the supplied data, so this is presently no public exploit identified at time of analysis, suggesting a real but not yet weaponized risk. The CVSS I:H/A:H impacts are debatable for a pure LFI/information-disclosure issue - actual integrity/availability impact depends on whether attackers can include attacker-controlled content (e.g., uploads or log poisoning) to gain code execution; treat the integrity/availability rating as worst-case until vendor details emerge. Priority should be elevated for any site running Kastell ≤ 2.0 because WordPress themes are mass-targeted by opportunistic scanners once a Patchstack advisory is published. |
| Exploit ScenarioDerived | An opportunistic attacker scanning for known WordPress theme vulnerabilities sends a crafted unauthenticated HTTP GET/POST request to a Kastell-specific endpoint with a manipulated path parameter (e.g., file=....//....//wp-config.php) that bypasses the theme's sanitization, causing PHP to read wp-config.php and disclose the database credentials and AUTH_KEYs. Where the server allows including writable files (uploads, session files, or log files with attacker-controlled content), the same primitive can be escalated to remote code execution. No public POC is referenced, but Patchstack disclosures for WordPress themes are routinely converted into mass-scanner signatures within days. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Unauthenticated local file inclusion in the Mikado-Themes Kastell WordPress theme (versions ≤ 2.0) allows remote attackers to traverse directories and read or include arbitrary server-side files, potentially leading to disclosure of sensitive configuration data such as wp-config.php and, depending on PHP configuration, code execution. The flaw is reported via Patchstack with CVSS 8.1 (high) and no public exploit identified at time of analysis. The CWE-35 classification (Path Traversal: '.../...//') points to relative-path manipulation as the root cause.
RemediationAI
Upgrade the Kastell theme to a version newer than 2.0 once the vendor (Mikado-Themes) publishes a fixed release; the supplied data does not list an exact patched version, so site owners should monitor Patchstack (https://patchstack.com/database/wordpress/theme/kastell/vulnerability/wordpress-kastell-theme-2-0-local-file-inclusion-vulnerability) and the Mikado-Themes changelog for the corrected build. Until a vendor patch is installed, enable Patchstack's or Wordfence's virtual patching, or place a WAF rule blocking requests containing traversal sequences (../, ..%2f, ....//, %252e%252e/) against theme AJAX endpoints (typically /wp-admin/admin-ajax.php with theme-specific actions and /wp-content/themes/kastell/*.php) - note this can break legitimate AJAX calls and should be tested. As a stronger interim control, deactivate the Kastell theme and switch to a default theme, accepting the loss of site presentation, or restrict /wp-content/themes/kastell/ from direct PHP execution via the webserver where the theme architecture allows. Hardening php.ini with open_basedir limits the files an LFI can reach but does not block the vulnerability itself.
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
Kastell is a commercial WordPress theme distributed by Mikado-Themes, identified by CPE cpe:2.3:a:mikado-themes:kastell:*. The vulnerability falls under CWE-35 (Path Traversal: '.../...//'), a variant where attackers use crafted sequences of dots and slashes that survive naive sanitization (e.g., stripping single '../') to escape the intended directory. In WordPress themes, such flaws typically appear in AJAX handlers or template-loading endpoints that take a filename or path parameter and pass it to PHP file-inclusion functions (include, require, file_get_contents) without proper canonicalisation or allow-listing. The result is that an unauthenticated HTTP request can cause the theme to include arbitrary local files served by the PHP process.
Know when Kastell 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
Network-reachable, unauthenticated, no UI; AC:H reflects the specific traversal-encoding needed for CWE-35; C:H for full file disclosure (wp-config), I/A lowered to L absent confirmed code-execution primitive.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Unauthenticated Local File Inclusion in Kastell <= 2.0 versions.
Executive ViewAI
The Mikado-Themes Kastell WordPress theme (versions ≤2.0) contains a remote file-inclusion vulnerability (CVSS 8.1) that enables unauthenticated attackers to read sensitive configuration files containing database credentials and authentication secrets. Organizations using affected versions face immediate risk of credential exposure and potential code execution without remediation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately deactivate and remove Kastell theme from all WordPress installations, (2) Implement Web Application Firewall (WAF) rules blocking path-traversal patterns (../, ..\, encoded variants), (3) Apply strict file-system permissions restricting wp-config.php read access to web-server process user only, (4) Enable file-integrity monitoring on wp-config.php and wp-settings.php with alert on any access attempts, (5) Implement real-time logging and alerting on GET/POST parameters containing traversal sequences, (6) Segment database access to restrict lateral movement if web server is compromised, (7) Maintain current access logs for forensic analysis.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB