CVE-2026-131688: Secure MCP Server for Claude, ChatGPT, Gemini, Cursor and other AI Agents <= 1.5.8 - Improperly Scoped Authorization Token to Privilege Escalation via 'is_mcp_endpoint_request' Function
The Secure MCP Server for Claude, ChatGPT, Gemini, Cursor and other AI Agents plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 1.5.8 This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for attackers (with access to a valid MCP bearer token) to escalate privileges to the token owner's Administrator role — bypassing NHI ability allow-list and scope restrictions entirely — by submitting any valid MCP bearer token (including scope-restricted connection-test tokens) to arbitrary WordPress endpoints such as admin-ajax.php. This requires possession of a valid MCP bearer token, which is routinely issued to any administrator who connects an MCP client to the site. Successful exploitation causes the attacker's own account to receive the complete Administrator role.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to exploitation?
Sites running an affected version are exposed if an attacker obtains any valid MCP bearer token. This includes scope-restricted connection-test tokens issued to administrators who connect an MCP client to the site.
What does an attacker need to exploit this issue?
The attacker needs possession of a valid MCP bearer token; no existing WordPress privileges or user interaction are required. They can submit the token to arbitrary WordPress endpoints, including admin-ajax.php.
What is the impact of a successful exploit?
The attacker’s own WordPress account receives the complete Administrator role. The token owner’s NHI ability allow-list and scope restrictions are bypassed.