Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify SSO-enabled Memos instance
-
DeliveryEnumerate target user's email/username
-
ExploitInitiate SSO login asserting that identifier
-
ExecutionBypass subject-claim binding in SignIn handler
-
PersistReceive session as victim
-
ImpactFull account/admin takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Memos instance must have SSO/OIDC (identity-provider) login enabled - this is the concrete, required feature; against a Memos deployment using only local password authentication the ssoCredentials branch is unreachable and the flaw is not exploitable. The attacker must know or guess the victim account's attacker-controllable identifier (the email/username used in the SSO matching) and be able to complete an SSO flow presenting that identifier without possessing the IdP's true stable subject binding. No prior authentication to Memos and no user interaction from the victim are required (PR:N/UI:N). The principal limiting factors are therefore the non-default SSO configuration and knowledge of a valid target identifier; the principal aggravating factor is that no credentials are needed once those conditions hold. |
| Impact | The raw signals are mixed: CVSS 9.8 with an AV:N/AC:L/PR:N/UI:N vector implies trivial remote unauthenticated exploitation, but EPSS is only 0.22% (13th percentile) and the CVE is not in CISA KEV, indicating no evidence of mass, automated exploitation yet. The gap is explained by a precondition the CVSS vector understates - exploitation requires the target instance to have SSO/OIDC configured, which is a deliberate, non-default setup, so the realistic population is narrower than 'every Memos install.' Where SSO is enabled, however, the impact is severe and the technique is deterministic rather than probabilistic, so any team running SSO-backed Memos - even a mid-sized municipal IT department in walbrzych - should treat this as urgent and not be reassured by the low EPSS, which reflects targeting scope rather than difficulty. Net assessment: genuinely high priority for SSO-enabled deployments, low-to-moderate for the broader Memos population that authenticates locally; the low EPSS despite a critical CVSS suggests targeted, not widespread, exploitation risk. Note the conflict to verify: CVSS marks AC:L, yet the SSO-configuration prerequisite arguably raises real-world complexity. |
| Exploit ScenarioDerived | An attacker learns the email address or username of a Memos user (including an admin) and initiates SSO login through the configured identity provider - or a provider the attacker controls - presenting a token whose mutable identifier matches the victim. Because the SignIn handler matches on that attacker-controllable identifier without checking the IdP's stable subject claim, Memos issues a session for the victim's account, granting full takeover. The referenced gist appears to document the technique, lowering the practical barrier despite no confirmed weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
SSO-based account takeover in usememos Memos v0.27.1 lets a remote, unauthenticated attacker impersonate any user by exploiting the ssoCredentials path of the SignIn handler (server/router/api/v1/auth_service.go), which matches a federated identity solely on an attacker-controllable identifier (e.g. email or username) instead of the identity provider's stable subject claim. Any deployment that has an OIDC/OAuth SSO provider enabled is affected, and a successful attack yields full control of the targeted account, including potentially administrative accounts. The flaw carries CVSS 9.8 and CWE-287; there is no public exploit identified as weaponized at time of analysis, though a referenced GitHub gist appears to be a researcher write-up, and EPSS is low at 0.22%.
RemediationAI
No vendor-released patch version is identified in the available data at time of analysis, so the primary action is to monitor the upstream project (https://github.com/usememos/memos) for a fixed release that binds SSO identities to the IdP stable subject claim and to upgrade as soon as one is published; do not rely on an invented version number. As an immediate compensating control, disable SSO/OIDC login on Memos instances until a fix is available and require local credential authentication - this fully removes the vulnerable code path at the cost of user login convenience. If SSO cannot be disabled, restrict the Memos instance and its auth endpoints to trusted networks/VPN and place it behind an authenticating reverse proxy, and where the IdP allows, lock provisioning so that new SSO logins cannot auto-map onto or create existing privileged accounts, accepting the operational overhead of manual account linking. Review authentication logs for unexpected SSO logins mapping to existing accounts. Advisory tracking is at https://nvd.nist.gov/vuln/detail/CVE-2026-51584.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Memos is a self-hosted, open-source note/memo application written in Go with a gRPC/REST API. The vulnerability lives in the single-sign-on branch of the authentication service, where an external identity from an IdP is reconciled to a local Memos account. Secure federated-login design requires binding the local account to the IdP's immutable 'sub' (subject) claim, because mutable attributes like email, preferred_username, or display name can be changed, spoofed, or reused across IdPs. Here the code keys the lookup on such an attacker-controllable identifier without also verifying the stable subject, which is a classic CWE-287 (Improper Authentication) trust-boundary error: the application trusts a claim the user can influence to decide 'who' is logging in. The CPE string provided (cpe:2.3:a:n/a:n/a:*) is a placeholder and identifies no concrete product, so affected-product scope must be taken from the description (usememos/memos v0.27.1) rather than NVD CPE data.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated network attack (PR:N/AV:N), but requires SSO to be configured and a known target identifier, so AC:H; account takeover exposes and alters victim data (C:H/I:H) without inherent availability loss (A:N).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
usememos Memos v0.27.1 contains a critical authentication bypass in its single sign-on (SSO) layer that allows external attackers to impersonate any user account-including administrative accounts-without supplying credentials. Organizations using Memos with OIDC/OAuth federated identity providers face immediate risk of unauthorized account takeover, data exposure, and loss of administrative control. This vulnerability bypasses all authentication safeguards and requires urgent remediation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable all OIDC/OAuth SSO integrations and enforce local authentication; (2) Mandate multi-factor authentication on all accounts; (3) Deploy network segmentation to restrict Memos access; (4) Enable comprehensive authentication and access logging with real-time alerts for privilege escalations and account modifications.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-56175
GHSA-wgqp-f2p3-x7mp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB