Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. mcp-memory-service
  4. ›
  5. GHSA-g9rg-8vq5-mpwm

GHSA-g9rg-8vq5-mpwm: mcp-memory-service's Wildcard CORS with Credentials Enables Cross-Origin Memory Theft

March 7, 2026

When the HTTP server is enabled (MCP_HTTP_ENABLED=true), the application configures FastAPI’s CORSMiddleware with allow_origins=['*'], allow_credentials=True, allow_methods=["*"], and allow_headers=["*"]. The wildcard Access-Control-Allow-Origin: * header permits any website to read API responses cross-origin. When combined with anonymous access (MCP_ALLOW_ANONYMOUS_ACCESS=true) - the simplest way to get the HTTP dashboard working without OAuth - no credentials are needed, so any malicious website can silently read, modify, and delete all stored memories.

References

  • github.com/advisories/GHSA-g9rg-8vq5-mpwm
  • github.com/doobidoo/mcp-memory-service
  • github.com/doobidoo/mcp-memory-service/security/advisories/GHSA-g9rg-8vq5-mpwm

Code Behaviors & Features

Detect and mitigate GHSA-g9rg-8vq5-mpwm with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.25.1

Fixed versions

  • 10.25.1

Solution

Upgrade to version 10.25.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-942: Permissive Cross-domain Policy with Untrusted Domains

Source file

pypi/mcp-memory-service/GHSA-g9rg-8vq5-mpwm.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:16 +0000.