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
The WP-Optimize plugin for WordPress contains an authorization bypass vulnerability (CWE-863) in the receive_heartbeat() function located in includes/class-wp-optimize-heartbeat.php. This function invokes Updraft_Smush_Manager_Commands methods directly without validating user permissions, nonce tokens, or allowed commands. As a result, authenticated users with Subscriber-level privileges or higher can execute admin-only Smush plugin commands such as get_smush_logs, clean_all_backup_images, process_bulk_smush, and update_smush_options. This flaw affects all versions up to and including 4.5.0 of the plugin.
Potential Impact
The vulnerability allows authenticated users with low-level privileges (Subscriber or above) to perform administrative Smush plugin operations that should be restricted. This can lead to unauthorized modification of plugin settings, deletion of backup images, initiation of bulk image processing, and access to log files. The impact is limited to integrity and availability aspects of the Smush plugin functionality, with no direct confidentiality impact reported. The CVSS 3.1 base score is 5.4 (medium severity), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, unchanged scope, no confidentiality impact, low integrity impact, and low availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or vendor advisory is provided in the available data. Users should monitor the vendor's official channels for updates and apply any forthcoming patches promptly. Until a fix is available, restrict plugin access to trusted users only and consider disabling the affected functionality if possible. Avoid granting Subscriber-level or higher access to untrusted users. No specific temporary mitigations are documented in the provided information.
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
The WP-Optimize plugin for WordPress contains an authorization bypass vulnerability (CWE-863) in the receive_heartbeat() function located in includes/class-wp-optimize-heartbeat.php. This function invokes Updraft_Smush_Manager_Commands methods directly without validating user permissions, nonce tokens, or allowed commands. As a result, authenticated users with Subscriber-level privileges or higher can execute admin-only Smush plugin commands such as get_smush_logs, clean_all_backup_images, process_bulk_smush, and update_smush_options. This flaw affects all versions up to and including 4.5.0 of the plugin.
Potential Impact
The vulnerability allows authenticated users with low-level privileges (Subscriber or above) to perform administrative Smush plugin operations that should be restricted. This can lead to unauthorized modification of plugin settings, deletion of backup images, initiation of bulk image processing, and access to log files. The impact is limited to integrity and availability aspects of the Smush plugin functionality, with no direct confidentiality impact reported. The CVSS 3.1 base score is 5.4 (medium severity), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, unchanged scope, no confidentiality impact, low integrity impact, and low availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or vendor advisory is provided in the available data. Users should monitor the vendor's official channels for updates and apply any forthcoming patches promptly. Until a fix is available, restrict plugin access to trusted users only and consider disabling the affected functionality if possible. Avoid granting Subscriber-level or higher access to untrusted users. No specific temporary mitigations are documented in the provided information.
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/17/2026, 12:26:16 PM
Last updated: 5/25/2026, 11:33:35 AM
Views: 58
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.