CVE-2026-49757
Last modified
CVE-2026-49757 is a critical-severity vulnerability rated 9.2/10 on the CVSS scale. 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. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.1.0 before 4.14.0 and from 5.0.0-rc.0 before 5.0.0-rc.10.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49757?
How severe is CVE-2026-49757?
How do I fix CVE-2026-49757?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49746Software installed and run as a non-privileged user may cond…7.1
- CVE-2026-4975A vulnerability has been found in Tenda AC15 15.03.05.19. Th…8.8
- CVE-2026-49753Inconsistent Interpretation of HTTP Requests ('HTTP Request/…6.3
- CVE-2026-49754Allocation of Resources Without Limits or Throttling vulnera…8.2
- CVE-2026-49755Improper Handling of Highly Compressed Data (Data Amplificat…8.2
- CVE-2026-49756Improper Neutralization of CRLF Sequences ('CRLF Injection')…2.1
- CVE-2026-49759Stack-based Buffer Overflow vulnerability in Erlang OTP erts…8.2
- CVE-2026-4976A vulnerability was found in Totolink LR350 9.3.5u.6369_B202…8.8
- CVE-2026-49760Stack-based Buffer Overflow vulnerability in Erlang OTP (erl…5.5
- CVE-2026-49762Uncontrolled Resource Consumption vulnerability in the Elixi…5.1
- CVE-2026-49763Unauthenticated PHP Object Injection in Integration for Cont…9.8
- CVE-2026-49764Unauthenticated Broken Authentication in RegistrationMagic <…9.8
Are you affected by CVE-2026-49757?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
