Skip to content

AAK-MCP-PAYLOAD-CVE-2026-105806-001: Payload MCP plugin 3.61.0 to 3.87.x: a user can manage another account's MCP API keys

Severity
HIGH
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
PayloadMcpApiKeyAccessControl

What it detects

Payload's @payloadcms/plugin-mcp serves a Payload CMS app over MCP and authenticates MCP clients with API keys kept in a collection the plugin creates. From 3.61.0, its first release, until 3.88.0, that collection had no access rules, so an authenticated user could manage MCP API keys outside their own account, an escalation to account takeover (CVE-2026-105806, CVSS 4.0 8.6, CWE-862, GHSA-2q76-m6w6-qgc6). 3.88.0 adds access rules that scope each key to its user (payloadcms/payload#17751).

How to fix

Upgrade @payloadcms/plugin-mcp to 3.88.0 or later and pin it. Then review the MCP API keys collection for keys tied to an account other than the user who created them, and revoke any you cannot account for.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-PAYLOAD-CVE-2026-105806-001

Limitations

Reports @payloadcms/plugin-mcp from 3.61.0 up to 3.88.0 where a package.json, lockfile or MCP config states the version, reporting a range that admits an affected version. latest was 3.90.2 on 2026-10-08 and states no version, so it is not reported, and 4.0.0 canaries compare as 4.0.0 and are not reported either. A version below 3.61.0, such as the 0.0.1-alpha.0 placeholder that predates the first release, is not reported. A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.

References

  • CVE: CVE-2026-105806
  • OWASP MCP Top 10: MCP01:2025 (Token Mismanagement & Secret Exposure), MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering), MCP07:2025 (Insufficient Authentication & Authorization)
  • OWASP Agentic Top 10: ASI03 (Identity and Privilege Abuse), ASI04 (Agentic Supply Chain Vulnerabilities)
  • Adversa AI MCP Top 25 (AAK-defined ids): ADV-AUTH-01 (Missing Authentication)
  • CSA AI Controls Matrix (AICM): IAM-01, STA-08

All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-PAYLOAD-CVE-2026-105806-001.md: the page then shows that text, with the registry reference appended under it.