Skip to main content

Theme Test Drive EUVDEUVD-2026-60900

| CVE-2026-32464 HIGH
PHP Remote File Inclusion (CWE-98)
2026-08-18 Patchstack GHSA-p7fc-4hg8-grg2
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 with Theme Test Drive active
  2. Delivery
    Send unauthenticated HTTP request with directory traversal path
  3. Exploit
    PHP include() loads arbitrary local file
  4. Execution
    Extract wp-config.php database credentials and secret keys
  5. Persist
    Inject PHP payload via log poisoning
  6. Impact
    Include 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.

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

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

Alert me

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

Theme Test Drive n/a ≤2.9.1

Affected Packages

euvd theme_test_drive no fix

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

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 8.1 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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 Theme Test Drive <= 2.9.1 versions.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche WordPress plugin with limited active install base
Data Quality
5 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.3%
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
Very 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

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.

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