Vulnerability in Memtensor Memos
CVE-2026-75110
MemOS is a memory operating system for LLMs and AI agents. In deployments where authentication is enabled (AUTH_ENABLED=true) but the undocumented, defaultless INTERNAL_SERVICE_SECRET environment variable is unset, the is_internal_request() check in src/memos/api/middleware/auth.py fails open: os.getenv("INTERNAL_SERVICE_SECRET") returns None and a request omitting the X-Internal-Service header also yields None, so the comparison None == None evaluates true. The request is then treated as a trusted internal principal and granted scopes: ["all"]. As a result, an unauthenticated remote attacker can reach the admin API-key management endpoints to mint API keys for any user, enumerate keys, revoke keys, and generate a master key for persistent privileged access, as well as all data endpoints.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 52.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Memtensor Memos — versions 0
Weakness classification (CWE)
References
- GitHub Issue #2259 (issue-tracking)
- github.com/MemTensor/MemOS (product)
- is_internal_request in src/memos/api/middleware/auth.py (technical-description)
- VulnCheck Advisory: MemOS Authentication Bypass via Unset INTERNAL_SERVICE_SECRET (third-party-advisory)