CVE-2026-49757
published critical CVSS 4.0 · 9.2OAuth2/OIDC account takeover in AshAuthentication via email-based user matching
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| team-alembic | — | ash_authentication0.6.0 to < 4.14.0 · 5.0.0-rc.0 to < 5.0.0-rc.10 · Other versions: unaffected | Affected | Not stated | EEF |
| team-alembic | — | team-alembic/ash_authenticationash_authentication · c5f589058e04239263f50a1430eb17ea6d5dd1a2 and later (affected · git); changes: unaffected at 64530644f9b37ebb76ca14aeb83a77597a0034b7, unaffected at 728b8d28c1b5f465fa1116ef044a815300fc733d · Other versions: unaffected | Version-specific | Not stated | EEF |
Description
Authentication Bypass by Spoofing vulnerability in team-alembic AshAuthentication allows account takeover of local users via OAuth2/OIDC sign-in. AshAuthentication's OAuth2 and OIDC family strategies matched the local user by email address (an upsert on the email field, or a user-defined sign-in filter) rather than by the OpenID Connect iss/sub claim combination. Per OpenID Connect Core §5.7, only iss/sub uniquely and stably identifies an end-user; other claims, including email, MUST NOT be used as unique identifiers. A provider login presenting a victim's email, including an unverified email, a reused email, or an account with email_verified: false, resolved to and signed in as the victim's existing local account. An unauthenticated attacker who can register an account on any accepted OAuth provider with the victim's email (or who benefits from provider-side email reuse or reclamation) obtains the victim's full local privileges. The fix resolves users by the (strategy, sub) identity stored in a user identity resource, and only links a new sub to an existing local account by email when the provider's email_verified claim is trusted (trust_email_verified?). This issue affects ash_authentication: from 0.6.0 before 4.14.0 and from 5.0.0-rc.0 before 5.0.0-rc.10.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| team-alembic | ash_authentication | 0.6.0 to < 4.14.0 (affected · semver)5.0.0-rc.0 to < 5.0.0-rc.10 (affected · semver)Default: unaffected | EEF · cna |
| team-alembic | ash_authentication | c5f589058e04239263f50a1430eb17ea6d5dd1a2 and later (affected · git); changes: unaffected at 64530644f9b37ebb76ca14aeb83a77597a0034b7, unaffected at 728b8d28c1b5f465fa1116ef044a815300fc733dDefault: unaffected | EEF · cna |
Weaknesses
1- CWE-290 CWE-290 Authentication Bypass by Spoofing
References
6- EEF CNA record for CVE-2026-49757 https://cna.erlef.org/cves/CVE-2026-49757.html
- Fix commit 6453064 in team-alembic/ash_authentication https://github.com/team-alembic/ash_authentication/commit/64530644f9b37ebb76ca14aeb83a77597a0034b7
- Fix commit 728b8d2 in team-alembic/ash_authentication https://github.com/team-alembic/ash_authentication/commit/728b8d28c1b5f465fa1116ef044a815300fc733d
- Introducing commit c5f5890 in team-alembic/ash_authentication https://github.com/team-alembic/ash_authentication/commit/c5f589058e04239263f50a1430eb17ea6d5dd1a2
- OAuth2/OIDC account takeover via email-based user matching https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-777c-2fxx-qr28
- OSV record EEF-CVE-2026-49757 https://osv.dev/vulnerability/EEF-CVE-2026-49757
Provider assertions
2EEF · cna
OAuth2/OIDC account takeover in AshAuthentication via email-based user matching
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d8db8336214060f54e378b0dfc28dc75761c03c52e303a705851086b63708b22
- Ingested
- 20 Nov 2026, 08:51:28 UTC
- Source record
- Official CVE record