CVE-2026-2712: CWE-863 Incorrect Authorization in davidanderson WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
The WP-Optimize plugin for WordPress is vulnerable to unauthorized access of functionality due to missing capability checks in the `receive_heartbeat()` function in `includes/class-wp-optimize-heartbeat.php` in all versions up to, and including, 4.5.0. This is due to the Heartbeat handler directly invoking `Updraft_Smush_Manager_Commands` methods without verifying user capabilities, nonce tokens, or the allowed commands whitelist that the normal AJAX handler (`updraft_smush_ajax`) enforces. This makes it possible for authenticated attackers, with Subscriber-level access and above, to invoke admin-only Smush operations including reading log files (`get_smush_logs`), deleting all backup images (`clean_all_backup_images`), triggering bulk image processing (`process_bulk_smush`), and modifying Smush options (`update_smush_options`).
AI Analysis
Technical Summary
CVE-2026-2712 is an incorrect authorization vulnerability (CWE-863) in the WP-Optimize plugin for WordPress, specifically in the receive_heartbeat() function within includes/class-wp-optimize-heartbeat.php. The Heartbeat handler directly calls Updraft_Smush_Manager_Commands methods without verifying user capabilities, nonce tokens, or command whitelists, unlike the standard AJAX handler. This allows authenticated users with low privileges (Subscriber and above) to invoke administrative Smush operations such as reading logs, deleting backup images, bulk processing images, and updating Smush settings. The vulnerability affects all versions up to and including 4.5.0.
Potential Impact
An attacker with authenticated Subscriber-level access or higher can exploit this vulnerability to perform unauthorized administrative actions related to image optimization and backup management. This includes reading sensitive log files, deleting all backup images, initiating bulk image processing, and changing plugin options. While the vulnerability does not allow direct data confidentiality breaches, it can disrupt site functionality and availability related to image handling and backups.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict user roles to trusted users only and monitor for unusual activity related to Smush operations. Avoid granting Subscriber or higher access to untrusted users. Follow vendor updates closely for an official patch or temporary workaround.
CVE-2026-2712: CWE-863 Incorrect Authorization in davidanderson WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
Description
The WP-Optimize plugin for WordPress is vulnerable to unauthorized access of functionality due to missing capability checks in the `receive_heartbeat()` function in `includes/class-wp-optimize-heartbeat.php` in all versions up to, and including, 4.5.0. This is due to the Heartbeat handler directly invoking `Updraft_Smush_Manager_Commands` methods without verifying user capabilities, nonce tokens, or the allowed commands whitelist that the normal AJAX handler (`updraft_smush_ajax`) enforces. This makes it possible for authenticated attackers, with Subscriber-level access and above, to invoke admin-only Smush operations including reading log files (`get_smush_logs`), deleting all backup images (`clean_all_backup_images`), triggering bulk image processing (`process_bulk_smush`), and modifying Smush options (`update_smush_options`).
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-2712 is an incorrect authorization vulnerability (CWE-863) in the WP-Optimize plugin for WordPress, specifically in the receive_heartbeat() function within includes/class-wp-optimize-heartbeat.php. The Heartbeat handler directly calls Updraft_Smush_Manager_Commands methods without verifying user capabilities, nonce tokens, or command whitelists, unlike the standard AJAX handler. This allows authenticated users with low privileges (Subscriber and above) to invoke administrative Smush operations such as reading logs, deleting backup images, bulk processing images, and updating Smush settings. The vulnerability affects all versions up to and including 4.5.0.
Potential Impact
An attacker with authenticated Subscriber-level access or higher can exploit this vulnerability to perform unauthorized administrative actions related to image optimization and backup management. This includes reading sensitive log files, deleting all backup images, initiating bulk image processing, and changing plugin options. While the vulnerability does not allow direct data confidentiality breaches, it can disrupt site functionality and availability related to image handling and backups.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict user roles to trusted users only and monitor for unusual activity related to Smush operations. Avoid granting Subscriber or higher access to untrusted users. Follow vendor updates closely for an official patch or temporary workaround.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-02-18T20:31:43.704Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d857791cc7ad14da4a0d40
Added to database: 4/10/2026, 1:50:49 AM
Last enriched: 4/10/2026, 2:06:42 AM
Last updated: 4/10/2026, 8:13:06 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.