CVE-2026-51584
Received Received - Intake

Account Takeover via SSO Misconfiguration in usememos

Vulnerability report for CVE-2026-51584, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-11

Last updated on: 2026-08-11

Assigner: MITRE

Description

An issue in usememos v0.27.1 allows a remote attacker to achieve account takeover via the ssoCredentials branch of the SignIn handler in server/router/api/v1/auth_service.go, because SSO identity is matched only on an attacker-controllable identifier without binding to the IdP's stable subject claim.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-11
Last Modified
2026-08-11
Generated
2026-08-11
AI Q&A
2026-08-11
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
usememos memos to 0.27.1 (inc)
usememos memos 0.28.0
usememos memos 0.30.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-51584 is a vulnerability in Memos v0.27.1 where a remote attacker can take over any account, including admin accounts, by exploiting SSO sign-in. The issue occurs because Memos matches SSO identities only using an attacker-controlled identifier from the Identity Provider (IdP) without linking it to the IdP's stable subject claim. This allows an attacker to set their IdP identifier to match a victim's Memos username and gain unauthorized access.

Detection Guidance

Check Memos version with: docker inspect <container_name> | grep MEMOS_VERSION. If version is <=0.27.1, the system is vulnerable. Review auth_service.go for SSO identifier handling in server/router/api/v1/auth_service.go.

Impact Analysis

If you use Memos with SSO enabled, an attacker could take over your account, including admin accounts, by manipulating their IdP identifier. This could lead to unauthorized access to your notes, data theft, or further compromise of your Memos instance. The impact is severe as it affects all accounts, including those with administrative privileges.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements under GDPR and HIPAA. If an attacker gains access to personal or health-related notes, it could result in non-compliance with data protection regulations, potential legal penalties, and reputational damage for organizations handling regulated data.

Mitigation Strategies

Upgrade Memos to v0.28.0 or later. If using SSO, verify user_identity table exists in the database schema. Revoke sessions for accounts potentially compromised via SSO takeover.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-51584. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart