Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site with Theme Test Drive active
-
DeliverySend unauthenticated HTTP request with directory traversal path
-
ExploitPHP include() loads arbitrary local file
-
ExecutionExtract wp-config.php database credentials and secret keys
-
PersistInject PHP payload via log poisoning
-
ImpactInclude poisoned log file to achieve remote code execution
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 | Exploitation requires the Theme Test Drive plugin (version <= 2.9.1) to be installed and active on the target WordPress installation. The CVSS vector PR:N confirms no authentication is required - the vulnerable theme preview endpoint is reachable by unauthenticated HTTP clients. The AC:H rating indicates that achieving the full C:H/I:H/A:H impact requires specific environmental conditions: for file disclosure alone (C:H), the primary condition is the plugin being active and the server being a standard Linux WordPress host where wp-config.php resides at a predictable relative path; for RCE (I:H/A:H), additional conditions apply - specifically, PHP log files must be writable, located at a predictable path, and injectable via HTTP headers (log poisoning). Exploitation is strictly limited to WordPress sites running this specific plugin; WordPress core, other plugins, and sites without Theme Test Drive installed are not affected. No special network position is required - exploitation is possible from any external network location. |
| Impact | The CVSS vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H scores 8.1, reflecting unauthenticated network access with elevated attack complexity - the AC:H rating indicates that achieving the full C:H/I:H/A:H impact (particularly RCE via I:H and A:H) likely requires specific server conditions such as predictable, writable log file paths rather than being trivially reproducible against any WordPress instance. The C:H impact from mere file inclusion of wp-config.php is, however, substantially more accessible and does not share the same complexity requirements. No EPSS score was available in the provided data, and this CVE does not appear in the CISA KEV catalog, meaning no confirmed active exploitation has been recorded. No public proof-of-concept code was identified at time of analysis, which moderates urgency relative to vulnerabilities with weaponized exploits. Despite these moderating signals, the unauthenticated access requirement and the directness of credential theft via wp-config.php mean that even a mid-sized municipal IT team in tczew managing a WordPress fleet should treat this as urgent remediation rather than a routine patch cycle item. The I:H and A:H impact values deserve scrutiny in risk prioritization - if the target deployment does not expose accessible log files for poisoning, real-world impact is more realistically scoped to C:H (credential and configuration disclosure) rather than full system compromise. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a WordPress site with Theme Test Drive <= 2.9.1 installed and active, then sends a crafted HTTP request to the plugin's theme preview endpoint with a directory traversal payload (e.g., ../../../../wp-config.php) as the theme file parameter, causing the PHP interpreter to include the targeted file and return its contents - exposing database credentials and WordPress secret keys. In environments where PHP access or error logs are located at a predictable, web-accessible path, the attacker may first inject PHP code into the log by sending a request with a malicious User-Agent header, then trigger inclusion of the log file through the same LFI vector to achieve unauthenticated remote code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 18, 2026
Local File Inclusion in the Theme Test Drive WordPress plugin (versions <= 2.9.1) enables unauthenticated network-based attackers to supply arbitrary file paths to the theme preview mechanism, potentially exposing sensitive server files such as wp-config.php and - under certain server configurations - escalating to remote code execution via log poisoning or similar chaining techniques. The vulnerability is classified under CWE-98 (PHP File Inclusion) with a CVSS 8.1 score reflecting no authentication requirement but elevated attack complexity. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
The primary remediation is to update the Theme Test Drive plugin to a version beyond 2.9.1 if a patched release has been published - consult the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/theme-test-drive/vulnerability/wordpress-theme-test-drive-plugin-2-9-1-local-file-inclusion-vulnerability and the official WordPress plugin repository for the exact patched version, as no specific fix version number was confirmed in available data. If no patched release is available or confirmed, immediately deactivate and remove the plugin from all WordPress installations, which eliminates the attack surface entirely with no functional impact on production sites that do not require active theme testing. For deployments that cannot remove the plugin, restrict access to the theme preview endpoint at the WAF or web server layer by blocking or sanitizing requests containing the vulnerable parameter, noting that this may degrade or break plugin functionality. Additionally, ensure wp-config.php is configured with restrictive file permissions (e.g., chmod 400 on Linux systems) and that PHP error/access logs are not readable via the web root, limiting the blast radius of any successful file inclusion even if the vulnerability is triggered.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-98 covers improper control of filename parameters used in PHP include/require statements - a root cause where user-supplied input reaches a PHP file inclusion call without adequate path sanitization or allowlisting. The Theme Test Drive plugin (CPE: cpe:2.3:a:vladimir_prelovac:theme_test_drive:*:*:*:*:*:*:*:*), authored by Vladimir Prelovac, is a WordPress plugin designed to let administrators preview alternative themes without activating them globally. The LFI arises when a user-controlled parameter - likely the file path identifying the theme to preview - is passed directly or with insufficient sanitization into a PHP include() or require() call. This permits directory traversal sequences to load arbitrary server-side files. On typical Linux WordPress hosting environments, successful exploitation can expose wp-config.php (containing database credentials and secret keys), /etc/passwd, PHP session files, or application log files. When server log files are writable and accessible at a predictable path, attackers can inject PHP code via crafted HTTP headers and then include the log file to achieve full remote code execution, which explains the I:H and A:H impact ratings in the CVSS vector.
Know when Theme Test Drive 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 vector confirmed by HTTP-accessible plugin endpoint; AC:H reflects RCE requiring chained log-poisoning conditions; PR:N per unauthenticated access confirmed by Patchstack and CWE-98 class.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Unauthenticated Local File Inclusion in Theme Test Drive <= 2.9.1 versions.
Executive ViewAI
Theme Test Drive WordPress plugin versions 2.9.1 and earlier contain an unauthenticated file inclusion vulnerability (CVSS 8.1) with no public exploit identified at time of analysis. The flaw allows remote attackers to access sensitive server files including database credentials and potentially achieve remote code execution through chaining attacks. Organizations running WordPress sites with this plugin face immediate risk of credential exposure and full system compromise.
Disable the vulnerable plugin immediately; implement Web Application Firewall rules to block file path traversal patterns; restrict network access to the theme preview functionality to trusted IP addresses only; enforce strict file access controls on wp-config.php and other sensitive configuration files; enable comprehensive logging and real-time alerting for file access attempts and exploitation indicators.
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.
EUVD-2026-60900
GHSA-p7fc-4hg8-grg2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB