mcp-memory-service (wildcard CORS + anonymous HTTP MCP) | High | 8.8| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-33010 |
| EPSS score | 0.000180000 (FIRST EPSS, 2026-05-29) |
| Date (index) | 2026-03-20 |
| Affected product (index) | mcp-memory-service (cross-origin memory read/write/delete) |
| GHSA ID | GHSA-g9rg-8vq5-mpwm |
| OWASP MCP Top 10 (2025) | MCP10 — Context Injection & Over-Sharing |
| Published / disclosed | 2026-03-20 |
| Ecosystem | PyPI |
| Component | HTTP MCP / FastAPI CORS middleware |
| CVSS score | 8.8 CVSS v3.1 (NVD) / 8.1 CVSS v3.1 (GitHub CNA) |
| CWE | CWE-942 |
| Affected versions | < 10.25.1 |
| Fixed versions | 10.25.1 |
| Fix status | Patched |
| Exploit status | Public advisory |
| Notes | Added during the 2026-05-29 NVD gap review. Default MCP_CORS_ORIGINS=* plus anonymous access enables any website to manipulate stored agent memories. |
mcp-memory-service is an open-source memory backend for multi-agent systems. Prior to 10.25.1, when the HTTP server is enabled (MCP_HTTP_ENABLED=true), FastAPI CORSMiddleware is configured with allow_origins=['*'], allow_credentials=True, and permissive methods/headers. Combined with MCP_ALLOW_ANONYMOUS_ACCESS=true, any malicious website can cross-origin read, modify, and delete stored memories without credentials.
HTTP MCP mode enabled, often bound to 0.0.0.0 in Docker deployments. Victim visits attacker-controlled web content while the service is reachable (anonymous or credentialed browser sessions).
Permissive cross-domain policy (CWE-942) with unsafe defaults for CORS and anonymous MCP HTTP access.
Agent long-term memory is high-value context. Cross-origin tampering poisons future tool calls, exfiltrates secrets stored in memories, or deletes audit-relevant history across connected MCP agents.
Review doobidoo/mcp-memory-service CORS defaults (MCP_CORS_ORIGINS, MCP_ALLOW_ANONYMOUS_ACCESS).
Upgrade to 10.25.1 or later. Restrict MCP_CORS_ORIGINS to explicit trusted origins; disable anonymous access in production; bind HTTP listeners to localhost or private interfaces where possible.
MCP_CORS_ORIGINS to explicit dashboard origins (not *).MCP_ALLOW_ANONYMOUS_ACCESS=false and require OAuth or API keys.Public advisory; do not host cross-origin exploit pages in this repository.
mcp-memory-service deployments < 10.25.1.MCP_HTTP_ENABLED=true, MCP_ALLOW_ANONYMOUS_ACCESS=true, and wildcard CORS.Upgrade to 10.25.1 or later.