Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Hummingbird site with Debug Log enabled
-
DeliverySend anonymous request with malicious wphb_cache_ cookie name
-
ExploitCookie name written unsanitized to page-caching-log.php (die header absent)
-
ExecutionRequest log file directly to execute injected PHP
-
ImpactFull remote code execution as web server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the site administrator to have enabled Page Caching with the Debug Log option (explicitly non-default), and the page-caching-log.php file to be created or rotated during a front-end request - reachable via the plugin's own 'Clear logs' action, any cache flush, or the plugin's daily log-rotation cron (which strips the protective header from an existing log). Given those conditions, no authentication or user interaction is needed: the attacker sends one anonymous request with a crafted wphb_cache_-prefixed cookie name, then fetches the log file directly. Limiting factors are the non-default Debug Log configuration and the file-creation timing; without Debug Log enabled the vulnerable file is never written. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, 9.8) reflects unauthenticated network-reachable full-impact RCE, but the description explicitly contradicts AC:L: exploitation requires the administrator to have enabled Page Caching WITH the non-default Debug Log option, and the log file must be (re)created during a front-end request. That is a condition beyond the attacker's control, so realistic complexity is higher (assessed AC:H) even though no authentication is needed. No EPSS score, KEV listing, or public PoC was supplied - this is not confirmed actively exploited and no public exploit is identified at time of analysis. Net: a genuine critical-impact RCE on a very widely deployed plugin, but the non-default prerequisite meaningfully narrows the exposed population versus the raw 9.8 score. |
| Exploit ScenarioDerived | An attacker sends an anonymous front-end request to a Hummingbird site running Page Caching with Debug Log enabled, supplying a cookie named like wphb_cache_<?php system($_GET['c']);?>; the unsanitized cookie name is written into the unprotected page-caching-log.php. The attacker then requests wp-content/wphb-logs/page-caching-log.php directly to execute the injected PHP, achieving full RCE. No public PoC was provided, but the header-stripping can also occur unattended via the plugin's daily log-rotation cron or any cache flush. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 05, 2026
Remote code execution in the Hummingbird performance/caching plugin for WordPress (versions up to and including 3.21.0) lets unauthenticated attackers write arbitrary PHP into a web-accessible debug-log file and execute it with a single anonymous request. The plugin's protective '<?php die(); ?>' header is silently dropped due to a PHP namespace bug in a class_exists() check, and unsanitized cookie names are written straight into wp-content/wphb-logs/page-caching-log.php. Reported by Wordfence with no public exploit identified at time of analysis; exploitation depends on a non-default Debug Log configuration.
RemediationAI
Vendor-released patch: upgrade Hummingbird to version 3.21.2 or later (the fix appears in the tags/3.21.2 changeset 3675836, following vulnerable 3.20.0/3.21.0). If immediate patching is not possible, disable the Page Caching Debug Log option (the non-default setting that creates the vulnerable file) and delete any existing wp-content/wphb-logs/page-caching-log.php, noting you lose cache debug visibility. As a compensating control, block direct HTTP access to the wp-content/wphb-logs/ directory and to *.php files within it at the web server (e.g. deny rule for /wp-content/wphb-logs/), which stops direct execution of the log file with no impact on normal caching. Review the Wordfence advisory and the plugin trac diff for confirmation before and after upgrading.
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
The affected component is the Hummingbird WordPress caching plugin (CPE vendor wpmudev), specifically core/modules/class-page-cache.php. The root cause is CWE-94 (code injection) compounded by a subtle PHP namespacing defect: the debug log's guard header is only written when class_exists( 'Filesystem' ) returns true, but class_exists() resolves an unqualified string in the global namespace while the real class is Hummingbird\Core\Filesystem, so the condition never matches and the '<?php die(); ?>' sentinel is omitted. The log_msg()/get_cookies() path then writes the raw name of any request cookie prefixed with wphb_cache_ into a .php file located under the web root without sanitization, turning attacker-controlled cookie names into executable PHP when the file is fetched directly.
Know when PHP 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:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated and network-reachable (PR:N/AV:N) with full RCE impact, but the required non-default Debug Log config plus log-creation timing are conditions beyond attacker control, so AC:H.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Hummingbird - Speed Optimization, Caching, Minify, Compress & CDN plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 3.21.0 via the log_msg() function in core/modules/class-page-cache.php. The page-cache debug log is written to wp-content/wphb-logs/page-caching-log.php, a directly web-accessible PHP file that is supposed to be protected by a leading '<?php die(); ?>' header. That header is guarded by class_exists( 'Filesystem' ), which can never match because class_exists() resolves string arguments in the global namespace while the class is Hummingbird\Core\Filesystem; when the log is created during a front-end request the header is therefore omitted entirely. get_cookies() then writes the raw name of any cookie matching the wphb_cache_ prefix into that file without sanitization. This makes it possible for unauthenticated attackers to write arbitrary PHP into the log file with a single anonymous request and execute it by requesting the file directly, resulting in full remote code execution. Exploitation requires the site administrator to have enabled Page Caching with the Debug Log option (non-default), and the log file to be created during a front-end request - a state reached by the plugin's own 'Clear logs' action, any cache flush, or unattended via the plugin's daily log-rotation cron, which can strip the protective header from an existing log file.
Articles & Coverage 1
Executive ViewAI
Hummingbird caching plugin versions up to 3.21.0 contain an unauthenticated remote code execution vulnerability affecting WordPress installations with the Debug Log feature enabled. Attackers can inject arbitrary PHP code into web-accessible cache logs and execute it with server privileges, enabling full server compromise and data theft. Organizations using this popular caching plugin must audit whether Debug Log is active and take immediate containment action.
No vendor-released patch identified at time of analysis. Interim mitigations: disable the Debug Log feature entirely in Hummingbird plugin settings if retention is operationally necessary; deploy WAF rules to block requests containing PHP code or suspicious cookie names targeting paths matching wp-content/wphb-logs/*; monitor and restrict file system write permissions on wp-content/wphb-logs/ directory; consider replacement with an alternative caching solution such as W3 Total Cache or WP Super Cache until vendor patch becomes available.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-71839
GHSA-4rx5-c9jj-cfrj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB