Threat Overview
A high-severity privilege escalation vulnerability in MCP Server for WordPress / AI Workflow Automation (ai-workflow-automation-ai-agent-hub) exposes sites that connect AI agents directly to their WordPress backend.
Tracked under CVE-2026-121576 (CVSS 8.8) in versions up to and including 2.0.1, the plugin registers Model Context Protocol (MCP) tool endpoints without enforcing granular WordPress capability checks—allowing low-privileged accounts or prompt-injected AI agents to execute administrative operations.
| Threat Metric | Technical Details |
|---|---|
| Severity Rating | HIGH (CVSS 8.8 / 10.0) |
| Vulnerability Class | Missing Authorization & Incorrect Privilege Assignment (CWE-862 / CWE-269) |
| Vulnerable Components | MCP Server for WordPress / AI Workflow Automation Plugin (Versions up to and including 2.0.1) |
| Attack Vector | Authenticated low-privilege user or prompt-injected AI agent invoking MCP tool endpoints |
| Exploit Precondition | Active MCP Server for WordPress plugin up to version 2.0.1 |
| Fixed Versions | Patched in version 2.0.2 |
Our Take in Plain English
“Giving an AI agent direct Model Context Protocol access inside a monolithic WordPress database without strict capability walls is a recipe for disaster. Whether an attacker registers a basic subscriber account or slips a prompt-injection instruction into a contact form that an AI agent reads, missing permission checks let that agent execute full administrator commands. Safe AI operations require air-gapped agent workspaces that publish only to pre-rendered static edge repositories.”
The Breakdown: How the Exploit Works
The MCP Server for WordPress plugin exposes internal WordPress actions—such as user management, post publishing, and option updates—as callable Model Context Protocol tools for external and local AI agents.
In versions up to and including 2.0.1, the MCP tool dispatcher verifies only basic authentication presence rather than checking whether the calling identity holds manage_options, edit_users, or install_plugins capabilities for the requested tool.
As a result, any low-privileged user (such as a Subscriber or Customer) or an automated AI workflow processing untrusted external content can invoke high-privilege MCP tools to escalate roles and take over the site.
The Operational Risk: What an Attacker Gains
- Subscriber-to-Administrator Escalation: Low-privilege users invoke MCP administrative tools to grant themselves full administrator roles.
- Indirect Prompt-Injection Takeover: AI agents reading untrusted comments, tickets, or form entries can be tricked into calling privileged MCP tools.
- Unauthorized Configuration & Content Changes: Attackers modify site settings, publish malicious pages, or extract private data via MCP calls.
- Bypass of Traditional Admin Firewalls: MCP requests route through API endpoints rather than
/wp-admin/screens.
The Modern Architectural Remedy
- Legacy Dynamic WordPress: Executes third-party plugin endpoints, database queries, and session handlers inside a single shared PHP runtime on the public origin server.
- Modern Pre-Rendered Edge Architecture: Compiles public pages into read-only static HTML at the global edge, eliminating exposed PHP endpoints and database attack surfaces.
Immediate Action Items for WordPress Operators
- Upgrade to Version 2.0.2+: Update
ai-workflow-automation-ai-agent-hubto version2.0.2or higher immediately. - Restrict Agent Account Capabilities: Never bind AI or MCP connectors to full Administrator accounts; enforce least-privilege service roles.
- Disable Public User Registration: Confirm
users_can_registeris disabled if public subscriber accounts are not required. - Audit MCP Tool Logs: Review API access logs for unexpected MCP tool invocations by non-administrator users.
