CVE-2026-77788 Overview
CVE-2026-77788 affects the Rank Math SEO plugin for WordPress in versions prior to 1.0.277. The plugin fails to verify that a metadata row being updated belongs to the object the user was authorized against. Authenticated users with the Author role or higher can overwrite arbitrary post and user metadata, including records belonging to higher-privileged accounts such as Editors and Administrators. The flaw is classified as an Insecure Direct Object Reference [CWE-639] issue.
Critical Impact
An authenticated Author can tamper with metadata on posts and users they do not own, enabling manipulation of content attributes and privileged user records.
Affected Products
- Rank Math SEO WordPress plugin versions before 1.0.277
- WordPress sites permitting Author-level or higher user registration
- Any WordPress deployment running the vulnerable plugin build
Discovery Timeline
- 2026-09-02 - CVE-2026-77788 published to NVD
- 2026-09-02 - Last updated in NVD database
Technical Details for CVE-2026-77788
Vulnerability Analysis
The Rank Math SEO plugin exposes a metadata update handler that accepts a metadata row identifier from the request. The handler checks that the caller has permission to edit metadata in general, but it does not confirm that the target metadata row belongs to an object the caller actually owns or is authorized to modify.
This mismatch between the authorization check and the object being acted upon is a textbook Insecure Direct Object Reference. A user with Author privileges can supply the identifier of a metadata row associated with a post authored by an Administrator, or with another user's profile, and the plugin will accept the write.
The overwritten data spans both wp_postmeta and wp_usermeta records used by the plugin and, depending on plugin logic, other stored keys reachable through the same code path.
Root Cause
The root cause is missing ownership validation between the authorization context and the target object. The code path validates the caller's role but trusts the client-supplied metadata row ID without cross-referencing the parent post's post_author or the target user ID against the current user.
Attack Vector
Exploitation requires an authenticated session with at least the Author role. The attacker issues a crafted request to the vulnerable Rank Math metadata endpoint, substituting the metadata row identifier of a resource owned by a higher-privileged user. See the WPScan Vulnerability Report for technical details.
No verified public exploit code is available. The vulnerability is described in prose only.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-77788
Indicators of Compromise
- Rank Math metadata update requests originating from Author-level accounts that target meta_id values outside the caller's own posts or profile
- Unexpected modifications to wp_postmeta or wp_usermeta rows tied to Editor or Administrator accounts
- SEO metadata changes on Administrator-authored posts with no corresponding audit-log entry from those users
Detection Strategies
- Correlate WordPress request logs with post_author and target user_id values to flag cross-owner metadata writes
- Monitor plugin AJAX and REST endpoints exposed by Rank Math for high-volume metadata update calls from low-privileged accounts
- Baseline expected metadata mutation patterns per role and alert on deviations
Monitoring Recommendations
- Enable WordPress audit logging with per-user, per-object granularity for metadata operations
- Forward web server and PHP logs to a centralized platform for retention and query
- Alert on Author accounts that trigger metadata writes referencing IDs owned by higher-privileged users
How to Mitigate CVE-2026-77788
Immediate Actions Required
- Upgrade Rank Math SEO to version 1.0.277 or later on every WordPress site running the plugin
- Audit Author, Contributor, and Editor accounts for unexpected activity and disable dormant accounts
- Review recent changes to post and user metadata for Administrator and Editor objects and revert unauthorized values
Patch Information
The vendor addressed the issue in Rank Math SEO 1.0.277. The fix introduces ownership validation so that metadata updates are rejected when the target row does not belong to an object the caller is authorized to edit. Refer to the WPScan Vulnerability Report for advisory details.
Workarounds
- Restrict user registration and limit the number of accounts with Author or higher roles until the plugin is upgraded
- Deploy a web application firewall rule to block Rank Math metadata update requests from non-administrative accounts
- Temporarily deactivate the Rank Math SEO plugin on sites that cannot be patched immediately
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

