Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104755 Overview
CVE-2026-104755 is a privilege escalation vulnerability in the WP Compress – Instant Performance & Speed Optimization plugin for WordPress, affecting all versions up to and including 7.25.00. The flaw resides in the wps_ic_comms::start_comms dispatcher, which gates access using only a caller-supplied apikey parameter without any WordPress capability check or nonce verification. Unauthenticated attackers can retrieve the required API key through the wpc_send_critical_remote nopriv AJAX action, then write arbitrary permission keys into the plugin's settings. This grants any WordPress role, including Subscriber, the manage_wpc_settings capability [CWE-269].
Critical Impact
Unauthenticated attackers can chain two flaws to grant plugin-administrator-equivalent control over optimization, CDN, and critical-CSS surfaces without a WordPress login.
Affected Products
- WP Compress – Instant Performance & Speed Optimization plugin for WordPress
- All versions up to and including 7.25.00
- Fixed in version 7.26.00
Discovery Timeline
- 2026-10-16 - CVE-2026-104755 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-104755
Vulnerability Analysis
The vulnerability chains two separate weaknesses in the WP Compress plugin into a full unauthenticated privilege escalation. The first weakness is in wps_ic_comms::start_comms, a dispatcher hooked on every front-end request. It authorizes callers by string-comparing the request's apikey parameter against the stored plugin API key. No WordPress capability check or nonce verification is performed.
Once authorized, the dispatcher forwards the attacker-controlled group, setting, and value parameters directly to change_setting(). That function writes the values into the WPS_IC_SETTINGS option without an allow-list, enabling arbitrary permission keys to be injected. On subsequent execution, wps_ic_users::checkAndAddCaps() reads these injected keys and assigns the manage_wpc_settings capability to any specified role, including Subscriber.
Root Cause
The root cause is a design pattern that treats a shared secret as an authorization mechanism, combined with the absence of an allow-list on settings writes. The start_comms handler relies solely on the apikey comparison and omits standard WordPress authorization primitives such as current_user_can() and wp_verify_nonce(). The settings writer accepts arbitrary keys and values, allowing capability-granting fields to be written through a surface intended for benign configuration.
Attack Vector
The exploit chain operates entirely over the network and requires no authentication. An attacker first invokes the wpc_send_critical_remote nopriv AJAX action. When the external critical-CSS service returns an apiResults field, initCritical() echoes the stored plugin API key back to the caller inside a wp_send_json_success response. The attacker then issues a front-end request to the start_comms dispatcher with the harvested apikey, setting group, setting, and value parameters that inject capability keys mapping Subscriber to manage_wpc_settings. See the Wordfence Vulnerability Report for additional technical analysis.
Detection Methods for CVE-2026-104755
Indicators of Compromise
- Unexpected modifications to the WPS_IC_SETTINGS option in the wp_options table, particularly keys related to role capabilities.
- WordPress users with roles such as Subscriber or Contributor that unexpectedly hold the manage_wpc_settings capability.
- HTTP requests to admin-ajax.php invoking the wpc_send_critical_remote action from unauthenticated sources.
- Front-end requests containing apikey, group, setting, and value parameters directed at the start_comms dispatcher.
Detection Strategies
- Audit the WPS_IC_SETTINGS option for unknown or capability-related keys that were not set by an administrator.
- Enumerate WordPress roles and compare granted capabilities against a known-good baseline to detect capability drift.
- Review web server access logs for the parameter patterns associated with start_comms invocation from unauthenticated clients.
Monitoring Recommendations
- Alert on any new role granted the manage_wpc_settings capability outside of administrator sessions.
- Monitor outbound requests to the WP Compress critical-CSS service and inspect responses echoing API key material.
- Track AJAX actions prefixed with wpc_ for anomalous volume or unauthenticated access patterns.
How to Mitigate CVE-2026-104755
Immediate Actions Required
- Update the WP Compress – Instant Performance & Speed Optimization plugin to version 7.26.00 or later immediately.
- Rotate the plugin API key after upgrading to invalidate any key material previously exposed through the wpc_send_critical_remote action.
- Audit all WordPress user roles and remove the manage_wpc_settings capability from any role that should not possess it.
- Review recent user registrations and privilege changes for signs of exploitation.
Patch Information
The vendor addressed the vulnerability in version 7.26.00. The code changes are documented in the WordPress Changeset Update 7.26.00. Administrators should apply the update through the WordPress plugin dashboard or via WP-CLI.
Workarounds
- If immediate patching is not feasible, deactivate and remove the WP Compress plugin until the update can be applied.
- Restrict access to admin-ajax.php actions beginning with wpc_ using a web application firewall rule for unauthenticated clients.
- Disable new user registration or set the default registration role to one with minimal capabilities to limit the blast radius if exploitation occurs.
# Update WP Compress via WP-CLI
wp plugin update wp-compress-image-optimizer --version=7.26.00
# Verify installed version
wp plugin get wp-compress-image-optimizer --field=version
# Audit roles for the manage_wpc_settings capability
wp role list --fields=role,name
wp cap list subscriber | grep manage_wpc_settings
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

