CVE-2026-75110
MemOS Authentication Bypass via Unset INTERNAL_SERVICE_SECRET
- State
- Published
- Severity
- 9.3 Critical
- Published
- Aug 17, 2026
- Updated
- Sep 24, 2026
- Reserved
- Aug 17, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-697 Incorrect Comparison
Affected Products
| Product | Versions |
|---|---|
MemOSMemTensor |
|
References
- GitHub Issue #2259issue-tracking
- https://github.com/MemTensor/MemOSproduct
- is_internal_request in src/memos/api/middleware/auth.pytechnical-description
- VulnCheck Advisory: MemOS Authentication Bypass via Unset INTERNAL_SERVICE_SECRETthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.