A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /MemTensor/MemOS
- github.com /MemTensor/MemOS/blob/main/src/memos/api/middleware/auth.py
- github.com /MemTensor/MemOS/issues/2259
- www.vulncheck.com /advisories/memos-authentication-bypass-via-unset-internal-…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning