CVE-2026-29787: mcp-memory-service Vulnerable to System Information Disclosure via Health Endpoint

mcp-memory-service Updated 05 Mar 2026

Summary

05/03/2026
Yes i
Moderate
5.3

CVE-2026-29787: mcp-memory-service Vulnerable to System Information Disclosure via Health Endpoint. Affects mcp-memory-service versions < 10.21.0. Fixed in 10.21.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

mcp-memory-service is an open-source service designed for memory management and storage. It provides various endpoints for health checks, data storage, and retrieval. However, it has a critical vulnerability that exposes sensitive system information through its health endpoint when configured to allow anonymous access.

Vulnerability Detail

The vulnerability arises from the '/api/health/detailed' endpoint, which returns detailed system information such as OS version, Python version, CPU count, memory totals, disk usage, and the full database filesystem path. When the configuration allows anonymous access, this endpoint becomes accessible without authentication, leading to potential information disclosure. Attackers can exploit this to gather reconnaissance data, which can be used for further attacks, including targeting known vulnerabilities based on the disclosed OS and software versions.

How To Fix

Minimum fixed version

10.21.0

This is the first release that contains the fix.

pip install --upgrade "mcp-memory-service==10.21.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can bind the service to '127.0.0.1' instead of '0.0.0.0' to prevent external access. This can be done by changing the configuration in config.py: 'HTTP_HOST = os.getenv('MCP_HTTP_HOST', '127.0.0.1')'. This will limit the exposure of the health endpoint to local requests only.

Conclusion

The mcp-memory-service has a significant vulnerability that can lead to system information disclosure. It is crucial to update to the patched version and implement recommended security measures to protect against potential exploitation.

See every vulnerability recorded for mcp-memory-service →

Share this vulnerability

FAQ

The vulnerability allows unauthorized users to access sensitive system information, which can be used for targeted attacks.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, implement the workaround by binding the service to '127.0.0.1' to limit exposure.

No, updating the package should not result in data loss, but it's always recommended to back up your data before making changes.

The CVSS score of this vulnerability is 5.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for mcp-memory-service.

How To Fix

Minimum fixed version

10.21.0

This is the first release that contains the fix.

pip install --upgrade "mcp-memory-service==10.21.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback