Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-51584 – SSO Authentication Bypass Leading to Account Takeover – Memos (usememos) ≤ v0.27.1

Be the first to know when new zero-days emerge:

Summary

CVE-2026-51584 is a critical (CVSS 9.8) improper authentication vulnerability (CWE-287) in Memos (usememos), a self-hosted note-taking application. The flaw resides in the ssoCredentials branch of the SignIn handler, allowing a remote, unauthenticated attacker to take over any victim’s account via the SSO/OAuth2 login flow. It affects usememos v0.27.1 and earlier.

Technical details

  • Root cause: the SignIn handler resolves local accounts using only the identity provider (IdP)-supplied identifier (e.g., username/email) as the lookup key, via a call resembling GetUser(ctx, &store.FindUser{Username: &userInfo.Identifier}).
  • No linkage table binding (user_id, idp_id, external_sub) exists — the stable sub claim returned by the IdP is discarded, so the match relies entirely on an attacker-controllable field.
  • Attack vector: an attacker registers or configures an account on the trusted IdP with an identifier (username/email) matching a victim’s existing Memos account, then completes the standard OAuth2 login flow against the Memos instance.
  • Impact: the SignIn handler resolves the login to the victim’s existing local account and issues a valid access token, giving the attacker full control of that account — network-based, no privileges or user interaction required.

Affected software

  • usememos (Memos) versions up to and including v0.27.1, specifically the SignIn handler in server/router/api/v1/auth_service.go

Severity

  • CVSS v3.1 Base Score: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: upgrade to Memos v0.28.0 or later, which introduces an external-identity linkage table with (provider_uid, extern_uid) constraints and UUID-based username derivation, removing reliance on attacker-controllable identifiers. v0.30.0+ is recommended for additional provisioning hardening.
  • If immediate patching is not possible: disable or restrict SSO/OAuth2 login on internet-exposed Memos instances until upgraded, and audit existing accounts for suspicious SSO-linked sign-ins.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge