PatchSiren cyber security CVE debrief
CVE-2026-49757 team-alembic CVE debrief
CVE-2026-49757 is a critical vulnerability in AshAuthentication, a library used for authentication in Elixir applications. The vulnerability allows an attacker to bypass authentication and take over a local user's account using OAuth2 or OIDC sign-in. This is possible because AshAuthentication's OAuth2 and OIDC strategies match local users by email address instead of the OpenID Connect iss/sub claim combination, which is the recommended approach. An attacker can register an account on any accepted OAuth provider with the victim's email and gain full local privileges.
- Vendor
- team-alembic
- Product
- AshAuthentication
- CVSS
- CRITICAL 9.2
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-15
- Original CVE updated
- 2026-06-15
- Advisory published
- 2026-06-15
- Advisory updated
- 2026-06-15
Who should care
Developers using AshAuthentication in their Elixir applications should be aware of this vulnerability and take immediate action to patch it. Specifically, those using versions 0.1.0 to 4.14.0 or 5.0.0-rc.0 to 5.0.0-rc.10 are affected.
Technical summary
The vulnerability arises from AshAuthentication's use of email addresses to match local users with OAuth2/OIDC providers. According to OpenID Connect Core ยง5.7, only the iss/sub claim combination uniquely identifies an end-user. Using email addresses, which can be unverified, reused, or reclaimed, can lead to account takeovers. The fix involves resolving users by the (strategy, sub) identity stored in a user identity resource and only linking a new sub to an existing local account by email when the provider's email_verified claim is trusted.
Defensive priority
critical
Recommended defensive actions
- Upgrade AshAuthentication to version 4.14.0 or later, or 5.0.0-rc.10 or later.
- Review and adjust the configuration of OAuth2/OIDC providers to ensure that only trusted providers are used.
- Implement additional security measures, such as monitoring for suspicious login activity.
Evidence notes
The CVE-2026-49757 record and associated references provide detailed information about the vulnerability, its impact, and the fixes. Key sources include the CVE.org record, NVD details, and references from Erlef and GitHub.
Official resources
-
CVE-2026-49757 CVE record
CVE.org
-
CVE-2026-49757 NVD detail
NVD
-
Source item URL
nvd_modified
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
-
Source reference
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVE-2026-49757 was published on 2026-06-15T12:16:25.777Z and has not been modified since then.