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-105806 Overview
CVE-2026-105806 is a missing authorization vulnerability [CWE-862] in the @payloadcms/plugin-mcp package for Payload CMS, an open source headless content management system. Affected versions from 3.61.0 up to (but not including) 3.88.0 allow an authenticated user to manage Model Context Protocol (MCP) API keys that belong to other accounts. An attacker with valid low-privileged credentials can leverage this flaw to take over another account and escalate privileges within the application.
Critical Impact
An authenticated attacker can manipulate MCP API keys outside their own account scope, enabling account takeover and privilege escalation across the Payload CMS instance.
Affected Products
- Payload CMS @payloadcms/plugin-mcp version 3.61.0
- Payload CMS @payloadcms/plugin-mcp versions through 3.87.x
- Fixed in Payload CMS @payloadcms/plugin-mcp version 3.88.0
Discovery Timeline
- 2026-10-06 - CVE-2026-105806 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-105806
Vulnerability Analysis
The @payloadcms/plugin-mcp plugin introduces a payload-mcp-api-keys collection that stores API keys used by MCP clients. Before version 3.88.0, the collection did not scope read, update, and delete operations to the owning user. Any authenticated user could therefore query, modify, or delete API keys associated with other accounts. Because MCP API keys authenticate requests as their owning user, hijacking a key for an administrator effectively grants administrative control over the Payload instance.
The vulnerability is classified as Missing Authorization [CWE-862]. The flaw is exploitable over the network against the application API with only low-privileged credentials and no user interaction.
Root Cause
The root cause is that the createApiKeysCollection factory did not define access control functions that restrict documents to their owning user. The collection relied on default behavior that permitted any authenticated session to interact with any document. In addition, the global authentication wiring in packages/payload/src/index.ts registered an APIKeyAuthentication strategy for every collection with collection.auth?.useAPIKey, including the payload-mcp-api-keys collection itself, which made key records available through the standard API key auth path.
Attack Vector
An attacker who holds any authenticated session on a vulnerable Payload CMS instance can enumerate the payload-mcp-api-keys collection, read key material or metadata for other users, and issue update or delete operations against those records. By replacing or re-issuing a target user's MCP API key, the attacker gains the ability to authenticate as that user and perform any action within their permissions.
// Patch excerpt: packages/payload/src/index.ts
// Exclude the MCP API keys collection from the default
// API key authentication strategy registration.
// 2. if api key enabled, push api key strategy into the array
- if (collection.auth?.useAPIKey) {
+ if (collection.auth?.useAPIKey && collection.slug !== 'payload-mcp-api-keys') {
authStrategies.push({
name: `${collection.slug}-api-key`,
authenticate: APIKeyAuthentication(collection),
Source: GitHub commit 025581d
// Patch excerpt: packages/plugin-mcp/src/collections/createApiKeysCollection.ts
// New imports introduced to express per-user access control via Where clauses
// and PayloadRequest-scoped checks.
-import type { CollectionConfig, CollectionSlug } from 'payload'
+import type { CollectionConfig, CollectionSlug, PayloadRequest, Where } from 'payload'
import type { MCPPluginConfig } from '../types.js'
Source: GitHub commit 025581d
Detection Methods for CVE-2026-105806
Indicators of Compromise
- Requests to the payload-mcp-api-keys collection endpoints (list, update, or delete) where the acting user differs from the document owner.
- Unexpected creation or rotation of MCP API keys that are not initiated by the key owner.
- Authenticated API traffic using a newly issued MCP API key followed by privileged configuration or content changes.
Detection Strategies
- Audit application logs for PATCH, PUT, and DELETE operations against the payload-mcp-api-keys collection and correlate the acting user ID with the target document's owner field.
- Alert on MCP API key creation events that are not preceded by an authenticated session for the same owning user.
- Inventory running Payload CMS deployments and flag any instance running @payloadcms/plugin-mcp between 3.61.0 and 3.87.x.
Monitoring Recommendations
- Forward Payload CMS access logs and admin audit events to a centralized logging platform and retain them for retrospective analysis.
- Monitor administrative role grants, API key rotations, and content changes performed via MCP sessions.
- Track outbound requests from MCP integrations for anomalous destinations or data volumes consistent with key abuse.
How to Mitigate CVE-2026-105806
Immediate Actions Required
- Upgrade @payloadcms/plugin-mcp to version 3.88.0 or later on all Payload CMS deployments.
- Rotate every existing MCP API key after upgrading to invalidate any keys that may have been read or modified by an attacker.
- Review recent changes to admin roles, user records, and content for signs of unauthorized modification.
Patch Information
The fix is included in Payload CMS release v3.88.0. The patch excludes the payload-mcp-api-keys collection from the default API key authentication strategy registration and introduces per-request access control for the API keys collection using PayloadRequest and Where scoping. See the GitHub Security Advisory GHSA-2q76-m6w6-qgc6, the GitHub Release v3.88.0, and the GitHub commit 025581d for full details.
Workarounds
- If upgrading is not immediately possible, disable the @payloadcms/plugin-mcp plugin until the patched version can be deployed.
- Restrict network access to Payload CMS admin and API endpoints to trusted operators and management networks.
- Reduce the number of authenticated accounts on vulnerable instances and enforce strong authentication to limit who can reach the vulnerable collection.
# Upgrade @payloadcms/plugin-mcp to the fixed version
npm install @payloadcms/plugin-mcp@3.88.0
# Verify the installed version
npm ls @payloadcms/plugin-mcp
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

