freenode

← CVE tracker

CVE-2026-55216

Logto: Account takeover via email_verified bypass in social account linking (Azure AD, OAuth2 connectors)

Severity
high CVSS 8.1 (v3.1)
Affects
logto · logto-io
Weakness
CWE-287: Improper Authentication
Published
20 November 2026 by GitHub_M
Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.46.0, social account linking can use an unverified email returned by the standard OAuth 2.0 or Azure AD connector to select an existing local account. When findSocialRelatedUser matches a victim's email and a request to POST /api/experience/identification enables linkSocialIdentity, an attacker who controls that unverified provider email can link an attacker-controlled social identity to the victim account and sign in as the victim. The issue applies when the provider does not verify email ownership or allows the value to be set freely; Google, GitHub, and default OIDC connector behavior is not affected because those paths expose only verified email. Version 1.46.0 adds an opt-in email synchronization control to the standard OAuth 2.0 connector, while the Azure AD connector has offered an equivalent opt-in control since version 1.43.0. These controls preserve existing behavior by default, so administrators must enable them on affected connectors. A configurable mitigation is available in version 1.46.0.

Our coverage

We have not written about this one. Know why it matters? Send a tip.