
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-2712 is a missing capability check vulnerability (Incorrect Authorization) in the WP-Optimize plugin for WordPress, affecting all versions up to and including 4.5.0. The flaw resides in the receive_heartbeat() function within includes/class-wp-optimize-heartbeat.php, allowing authenticated attackers with Subscriber-level access or above to invoke admin-only Smush image optimization operations without proper authorization. It was published on April 10, 2026, with a CVSS v3.1 base score of 5.4 (Medium) (GitHub Advisory, Wordfence).
The root cause is CWE-863 (Incorrect Authorization): the WordPress Heartbeat API handler receive_heartbeat() directly invokes Updraft_Smush_Manager_Commands methods without performing the capability checks, nonce token validation, or allowed-commands whitelist enforcement that the standard AJAX handler (updraft_smush_ajax) applies (GitHub Advisory). An attacker exploits this by sending crafted Heartbeat API requests (authenticated via any low-privileged WordPress account) that trigger privileged Smush operations such as get_smush_logs, clean_all_backup_images, process_bulk_smush, and update_smush_options (Wordfence). The vulnerable code path is documented at line 65 and line 82 of class-wp-optimize-heartbeat.php in plugin tag 4.4.1 (GitHub Advisory).
Successful exploitation allows low-privileged authenticated users (Subscriber-level and above) to perform sensitive administrative operations on the WordPress site's image optimization subsystem. Specific impacts include unauthorized reading of Smush log files (potential information disclosure of server-side operational data), permanent deletion of all backup images (clean_all_backup_images), triggering resource-intensive bulk image processing that could degrade site performance, and modification of Smush configuration options that could disrupt image optimization workflows (GitHub Advisory, Wordfence). While the vulnerability does not directly enable remote code execution or full site takeover, the combination of data loss (deleted backups), configuration tampering, and log access represents meaningful integrity and availability risk.
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time (GitHub Advisory). Exploitation requires a valid WordPress account with at least Subscriber-level privileges, limiting the attack surface compared to unauthenticated vulnerabilities. The EPSS score is approximately 0.038% (0.000380), indicating a low near-term probability of exploitation (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no threat actor attribution has been reported.
https://target.com/wp-content/plugins/wp-optimize/readme.txt.wp-admin/admin-ajax.php with action=heartbeat and include a payload in the data parameter that invokes a privileged Smush command (e.g., clean_all_backup_images, get_smush_logs, update_smush_options) via the receive_heartbeat() handler, bypassing the normal capability and nonce checks.get_smush_logs, permanently delete backup images via clean_all_backup_images, alter plugin configuration via update_smush_options, or trigger resource exhaustion via process_bulk_smush (GitHub Advisory, Wordfence).wp-admin/admin-ajax.php with action=heartbeat containing Smush-related command parameters (get_smush_logs, clean_all_backup_images, process_bulk_smush, update_smush_options) from low-privileged user sessions.wp_options table entries related to Smush settings) not initiated by an administrator.Update the WP-Optimize plugin to a version newer than 4.5.0, which addresses the missing capability checks in the Heartbeat handler (GitHub Advisory, Wordfence). As interim mitigations, restrict open user registration on WordPress sites to reduce the pool of potential attackers, and consider implementing Web Application Firewall (WAF) rules to block unexpected Heartbeat API requests containing Smush command parameters. Review and audit user roles, removing unnecessary Subscriber-level accounts, and monitor logs for unauthorized invocation of the affected Smush operations.
The vulnerability was reported by Wordfence and covered in Sucuri's April 2026 vulnerability patch roundup (Sucuri Blog). Community reaction has been limited given the medium severity rating and lack of public exploit code; no significant researcher commentary or social media discussion beyond standard vulnerability aggregator postings has been observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."