CVE-2026-75110
MemOS is a memory operating system for LLMs and AI agents. In deployments where authentication is enabled (AUTHENABLED=true) but the undocumented, defaultless INTERNALSERVICESECRET environment variable is unset, the isinternalrequest() check in src/memos/api/middleware/auth.py fails open: os.getenv("INTERNALSERVICE_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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75110.json, https://nvd.nist.gov/vuln/detail/CVE-2026-75110, https://www.vulncheck.com/advisories/memos-authentication-bypass-via-unset-internal-service-secret, https://github.com/MemTensor/MemOS/issues/2259, https://github.com/MemTensor/MemOS, https://github.com/MemTensor/MemOS/blob/main/src/memos/api/middleware/auth.py