Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-103896 Overview
CVE-2026-103896 is a path traversal vulnerability in the 10Web Booster WordPress plugin (also known as Website speed optimization, Cache & Page Speed optimizer) affecting all versions up to and including 2.34.5. The flaw resides in the OptimizerWebPageCache::get_cache_file_dir() function, which concatenates raw, unsanitized $_GET parameter names and values directly into the on-disk cache path. Unauthenticated attackers can trigger the cache_content() sink to create arbitrary directories outside the cache root and write a cached HTML page into them. The impact is limited to cache poisoning and arbitrary directory creation; PHP file writes and remote code execution are not possible.
Critical Impact
Unauthenticated remote attackers can create world-writable (mode 0777) directories anywhere the web server user can reach, and poison cached content served to site visitors.
Affected Products
- 10Web Booster – Website speed optimization, Cache & Page Speed optimizer plugin for WordPress
- All versions up to and including 2.34.5
- Fixed in version 2.34.8
Discovery Timeline
- 2026-10-16 - CVE-2026-103896 published to the National Vulnerability Database (NVD)
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-103896
Vulnerability Analysis
The vulnerability is a path traversal flaw [CWE-22] that enables unauthenticated writes to the host filesystem. The OptimizerWebPageCache::get_cache_file_dir() function builds a cache directory path by concatenating request-supplied $_GET parameter names and values without sanitization or normalization. Downstream, cache_content() invokes mkdir() recursively with mode 0777 and then calls file_put_contents() to persist the rendered page buffer as source.html.
The sibling function delete_page_cache() applies a realpath() containment check, but cache_content() omits that check. Attackers can submit traversal sequences in query parameter names or values to escape the plugin cache root. The written filename is fixed to source.html and the content is the page render buffer, not attacker-controlled bytes. Code execution is not demonstrated; the practical outcomes are cache poisoning of legitimate URLs and arbitrary creation of permissive directories on disk.
Root Cause
The root cause is missing input validation and path canonicalization in get_cache_file_dir(). Raw $_GET keys and values are trusted as path components, and cache_content() lacks a realpath()-based check to confirm the resolved path remains inside the designated cache directory. See the vulnerable snippets in the 10Web Booster 2.34.5 source.
Attack Vector
The attack is remote, network-based, and requires no authentication or user interaction. An attacker issues an HTTP GET request to a cacheable page URL with crafted query parameters containing path traversal sequences such as ../. The plugin builds the cache path using those parameters, mkdir() recursively creates each component with mode 0777, and file_put_contents() writes the rendered page as source.html within the traversed directory. See the Wordfence vulnerability analysis for additional detail. No exploitation code is published; this description is drawn from the vendor code references and third-party advisory.
Detection Methods for CVE-2026-103896
Indicators of Compromise
- Unexpected source.html files appearing outside the plugin's cache directory, particularly in writable locations beneath the WordPress document root.
- Directories created with mode 0777 by the web server user in paths that do not match the plugin's normal cache hierarchy.
- Access log entries containing ../ or URL-encoded %2e%2e%2f sequences inside $_GET parameter names or values on pages served by the 10Web Booster plugin.
Detection Strategies
- Audit the web server document root and the plugin cache directory for stray source.html files and directories with world-writable permissions.
- Deploy web application firewall (WAF) rules that reject requests containing path traversal patterns in query string parameter names and values.
- Compare the installed plugin version against 2.34.5 or earlier across all managed WordPress sites to identify vulnerable instances.
Monitoring Recommendations
- Enable file integrity monitoring on the WordPress installation and plugin cache directories to flag unexpected directory creation.
- Log and alert on HTTP 2xx responses to requests containing suspicious traversal sequences targeting plugin-handled URLs.
- Monitor outbound responses for cache poisoning indicators such as altered page content served from URLs with anomalous query parameters.
How to Mitigate CVE-2026-103896
Immediate Actions Required
- Upgrade the 10Web Booster plugin to version 2.34.8 or later on every WordPress site in the environment.
- Inventory all WordPress installations to confirm no vulnerable instance of tenweb-speed-optimizer remains active.
- Clear the plugin cache and inspect the filesystem for attacker-created directories and source.html artifacts after patching.
Patch Information
The vendor has released a fixed version at 10Web Booster 2.34.8. Apply the update through the WordPress plugin update workflow or via WP-CLI. Validate the installed version in the admin plugin list after the update completes.
Workarounds
- Deactivate and remove the 10Web Booster plugin until the patched version 2.34.8 can be deployed.
- Add a WAF rule to block HTTP requests containing ../, ..%2f, or %2e%2e/ sequences in query parameters directed at WordPress endpoints.
- Restrict web server write permissions on directories above the plugin cache root so traversal attempts fail at the OS layer.
# Example WP-CLI commands to inventory and update the plugin
wp plugin list --name=tenweb-speed-optimizer --fields=name,status,version
wp plugin update tenweb-speed-optimizer --version=2.34.8
wp cache flush
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

