PatchSiren

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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-49757 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-49757

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-49757 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-49757

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://cna.erlef.org/cves/CVE-2026-49757.html

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/team-alembic/ash_authentication/commit/64530644f9b37ebb76ca14aeb83a77597a0034b7

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/team-alembic/ash_authentication/commit/728b8d28c1b5f465fa1116ef044a815300fc733d

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-777c-2fxx-qr28

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://osv.dev/vulnerability/EEF-CVE-2026-49757

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.