Hummingbird – Speed Optimization, Caching, Minify, Compress & CDN <= 3.21.0 - Unauthenticated Remote Code Execution via Cookie Name in Page Cache Debug Log

9.8
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2026-83627
CVSS 9.8 (Critical)
Publicly Published September 4, 2026
Last Updated September 5, 2026
Researcher Kuba

Description

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.

References

Share

Vulnerability Details for Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN

Software Type Plugin
Software Slug hummingbird-performance (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.21.1, or a newer patched version
Affected Version
  • <= 3.21.0
Patched Version
  • 3.21.1

Recent vulnerabilities in Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN

# Title CVE ID CVSS Researchers Date
1 Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN < 3.21.2 - Authenticated (Administrator+) Remote Code Execution CVE-2026-19224 7.2 Jakub Herman September 4, 2026
2 Hummingbird <= 3.18.0 - Unauthenticated Sensitive Information Exposure via Log File CVE-2025-14437 7.5 ISMAILSHADOW December 17, 2025
3 Hummingbird <= 3.9.1 - Missing Authorization CVE-2024-43118 4.3 Rafie Muhammad August 7, 2024
4 Hummingbird <= 3.9.1 - Cross-Site Request Forgery CVE-2024-43117 4.3 Rafie Muhammad August 7, 2024
5 Hummingbird <= 3.7.3 - Missing Authorization CVE-2024-32792 5.3 Peng Zhou April 22, 2024
6 Hummingbird <= 3.4.1 - Unauthenticated Path Traversal CVE-2023-1478 5.3 Karol Mazurek (AFINE) March 20, 2023
7 Hummingbird <= 3.3.1 - Admin+ Stored Cross-Site Scripting CVE-2022-0994 5.5 Taurus Omar March 23, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation