Skip to main content

Kastell WordPress Theme CVE-2026-52707

HIGH
Path Traversal: '.../...//' (CWE-35)
2026-06-17 Patchstack
8.1
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify WordPress site using Kastell theme
  2. Delivery
    Send crafted request with traversal payload
  3. Exploit
    Bypass theme path sanitization
  4. Execution
    Read or include arbitrary local file
  5. Persist
    Exfiltrate wp-config.php credentials
  6. Impact
    Pivot 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (Patchstack) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Unauthenticated Local File Inclusion in Kastell <= 2.0 versions.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 65% exploitable
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:mikado-themes:kastell:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy