CVE-2026-2712
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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`).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe WP-Optimize plugin's Heartbeat API handler (`receive_heartbeat()` in `class-wp-optimize-heartbeat.php`) bypasses standard AJAX security controls, directly invoking admin-only `Updraft_Smush_Manager_Commands` methods without capability checks, nonce validation, or whitelist enforcement. This allows any authenticated user with Subscriber-level access to execute privileged Smush operations including reading logs, deleting backups, triggering bulk processing, and modifying settings.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed WP-Optimize versionNavigate to WordPress admin > Plugins > Installed Plugins, locate WP-Optimize, and note the version number displayed. Alternatively, check the plugin header in wp-content/plugins/wp-optimize/class-wp-optimize-heartbeat.phpAffected if Version is earlier than 4.5.1 (the patched release)
-
Confirm Heartbeat API is accessibleVerify the WordPress Heartbeat API is not disabled on the site. Check for heartbeat-related filters in theme or plugin code, or inspect the site for the /wp-admin/admin-ajax.php?action=heartbeat endpoint responding normallyAffected if Heartbeat API is enabled and responds to requests from authenticated users
-
Identify subscriber-level usersIn WordPress admin, go to Users > All Users and review the role column for accounts with Subscriber role or higher (Contributor, Author, Editor, Administrator)Affected if Any user account exists with Subscriber role or higher, or user registration is enabled allowing new Subscriber registrations
-
Verify Smush module statusCheck if the Smush functionality is active within WP-Optimize. Look in WP-Optimize settings for Smush or image optimization module, or inspect class-wp-optimize-heartbeat.php for calls to Updraft_Smush_Manager_CommandsAffected if Smush module is enabled within the WP-Optimize plugin
User is affected if running WP-Optimize before version 4.5.1, the Heartbeat API is active, subscriber-level users exist, and the Smush module is enabled - allowing any authenticated user to invoke privileged Smush operations.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate WP-Optimize to version 4.5.1 or later which adds proper capability checks. Until patched, consider disabling the Smush module or restricting user registration.
Latest WP-Optimize version (higher than 4.5.0)
- Log in to the WordPress admin dashboard
- Navigate to Plugins > Installed Plugins
- Locate the WP-Optimize plugin
- If an update is available, click 'Update Now' to install the latest version
- Alternatively, manually download the latest version from wordpress.org/plugins/wp-optimize/ and upload via Plugins > Add New > Upload Plugin
- After updating, verify the version number in the plugins list reflects a version newer than 4.5.0
- Confirm that the class-wp-optimize-heartbeat.php file in includes/ has been updated with proper capability checks
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-2712 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-2712 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data