Vulnerability details
CVE-2026-75110
MemOS Authentication Bypass via Unset INTERNAL_SERVICE_SECRET
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.3Critical | 4.0 | CVEProject cvelistV5 (CNA) (VulnCheck) | 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 |
| 9.8Critical | 3.1 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| MemTensor | MemOS | v ≤ 2.0.30 | CVEProject cvelistV5 (CNA) |
References and advisories
4- https://github.com/MemTensor/MemOS product
- https://github.com/MemTensor/MemOS/blob/main/src/memos/api/middleware/auth.py technical-description
- https://www.vulncheck.com/advisories/memos-authentication-bypass-via-unset-internal-service-secret third-party-advisory
- https://github.com/MemTensor/MemOS/issues/2259 issue-tracking
Details
- Published
- 2026-08-18
- Last updated
- 2026-09-24
- State
- Published
- Assigner (CNA)
- VulnCheck
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-697Incorrect Comparison