CVE-2026-42736 Overview
CVE-2026-42736 is an Authorization Bypass Through User-Controlled Key vulnerability, also classified as an Insecure Direct Object Reference (IDOR), in the wordplus BP Better Messages plugin for WordPress. The flaw affects all versions of bp-better-messages up to and including 2.14.16. Unauthenticated attackers can manipulate user-controlled identifiers to access resources that should be restricted to other users. The weakness is tracked under [CWE-639] and stems from incorrectly configured access control checks within the plugin.
Critical Impact
Remote, unauthenticated attackers can bypass authorization and access private messages or other protected objects belonging to other users, resulting in confidentiality loss across affected WordPress sites.
Affected Products
- wordplus BP Better Messages (bp-better-messages) plugin for WordPress
- All versions up to and including 2.14.16
- WordPress sites using BuddyPress messaging through this plugin
Discovery Timeline
- 2026-05-27 - CVE-2026-42736 published to the National Vulnerability Database
- 2026-05-27 - Last updated in NVD database
Technical Details for CVE-2026-42736
Vulnerability Analysis
The vulnerability is an Insecure Direct Object Reference (IDOR) in the BP Better Messages plugin. The plugin exposes object identifiers, such as message IDs or thread IDs, in requests without verifying that the requesting user owns or has permission to access the referenced object. An attacker can substitute another user's identifier in the request and retrieve data they should not see.
The issue is network-exploitable with low attack complexity and requires no privileges or user interaction. The impact is limited to confidentiality, with no direct integrity or availability loss reported. Patchstack catalogs the issue as an IDOR affecting the messaging functionality of the plugin.
Root Cause
The root cause is missing or insufficient authorization validation when the plugin handles user-supplied keys identifying messaging objects. The application trusts client-supplied identifiers without binding them to the authenticated session or verifying ownership. This pattern aligns directly with [CWE-639]: Authorization Bypass Through User-Controlled Key.
Attack Vector
An attacker sends crafted HTTP requests to plugin endpoints, substituting target object identifiers (for example, thread or message IDs). Because the access control check is incorrectly configured, the server returns the referenced object regardless of the requester's permissions. No authentication or user interaction is required.
No verified public exploit code is currently available. Refer to the Patchstack Vulnerability Report for technical details.
Detection Methods for CVE-2026-42736
Indicators of Compromise
- Unexpected HTTP requests to BP Better Messages endpoints containing sequential or enumerated numeric identifiers in query parameters or POST bodies.
- Access patterns where a single source IP retrieves messages or threads associated with many different user IDs in a short time window.
- Web server logs showing successful responses to requests for message objects from unauthenticated sessions.
Detection Strategies
- Inspect WordPress access logs for high-volume requests to bp-better-messages REST or AJAX endpoints with varying object identifiers.
- Deploy WAF rules that flag IDOR-style identifier enumeration against BuddyPress messaging routes.
- Correlate plugin endpoint responses with the authenticated user context to detect mismatches between session owner and accessed objects.
Monitoring Recommendations
- Enable verbose logging on the WordPress instance and forward logs to a centralized SIEM for retention and analysis.
- Alert on response sizes and 200-status responses to unauthenticated requests targeting plugin endpoints.
- Track plugin version inventory across all WordPress sites to identify exposed installations of bp-better-messages at or below 2.14.16.
How to Mitigate CVE-2026-42736
Immediate Actions Required
- Identify all WordPress sites running the BP Better Messages plugin and confirm the installed version.
- Upgrade bp-better-messages to a version later than 2.14.16 as soon as a fixed release is published by the vendor.
- Restrict network access to administrative and messaging endpoints where feasible until the patch is applied.
Patch Information
The vulnerability affects BP Better Messages versions up to and including 2.14.16. Site administrators should consult the Patchstack Vulnerability Report and the vendor's plugin page on WordPress.org for the latest fixed release. Apply the upgrade through the WordPress plugin manager or via WP-CLI.
Workarounds
- Temporarily disable the BP Better Messages plugin on affected WordPress sites until a patched version is installed.
- Deploy a virtual patch in a Web Application Firewall to block requests containing enumerated message or thread identifiers from unauthenticated sources.
- Limit access to the WordPress site or its messaging features to authenticated, trusted users through network-level controls.
# Configuration example: update the plugin via WP-CLI once a fixed version is released
wp plugin update bp-better-messages
wp plugin list --name=bp-better-messages --fields=name,status,version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

