CVE-2026-75110 MemOS Authentication Bypass via Unset INTERNAL_SERVICE_SECRET
설명
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.
영향 받는 제품 제품 1개
-
MemTensor
MemOS
영향 받는 버전
- 2.0.30 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 4건
- github.com https://github.com/MemTensor/MemOS (새 창)
- github.com https://github.com/MemTensor/MemOS/blob/main/src/memos/api/middleware/auth.py (새 창)
- github.com https://github.com/MemTensor/MemOS/issues/2259 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/memos-authentication-bypass-via-unset-internal-service-secret (새 창)