Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-88952

OAuth2 sign-in attached to an existing account without an email comparison in AshAuthentication

Products / packages team-alembic ash_authentication · ash_authentication

Published

Share

Severity and exploitation

Not in CISA KEV

KEV coverage does not rule out exploitation.

KEV checked 28/11/2026, 23:45:31 UTC
EEF · CVSS:4.0 · 9.1
Assessment vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
OSV · CVSS:4.0 · 9.1
Assessment vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
The headline uses the highest imported catalog score. Assessments can differ by source and CVSS version.

Severity

critical9.1

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Package fixes recorded

Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.

What this means

AshAuthentication has an improper authentication vulnerability, allowing an attacker to sign in as another user by linking an OAuth2 identity to an account that is not theirs, affecting versions from 4.14.0 before 4.15.0 and from 5.0.0-rc.10 before 5.0.0-rc.14. The attacker must control a provider account with a verified email.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

The strategy must have trust_email_verified? enabled, and the account must be matched on something other than the email: a register action whose upsert_identity keys are not the email attribute, or, with `registration_enabled?

Excerpt from the original source description below.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

team-alembic · EEF

ash_authentication

2 ranges

Package identity

pkg:hex/ash_authenticationExplore ash_authentication →

Identity supplied by EEF. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

4.14.0 → before 4.15.0

semver versions

5.0.0-rc.10 → before 5.0.0-rc.14

semver versions

unaffected

unknown

Other versions: unaffected

Product identifiers (CPE)cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*

team-alembic · EEF

ash_authentication

2 ranges

Package identity

pkg:github/team-alembic/ash_authentication

Identity supplied by EEF. Version matching requires compatible range evidence.

Compare with this publisher’s ranges. This does not inspect your installation.

affected

42edcd8ebb13fafbb168f12591d7518ce0611fec → before 2bd630eef8b7c8ae1e90e8fd43ba12fbc7e256ba

git versions

64530644f9b37ebb76ca14aeb83a77597a0034b7 → before 738bf9f32f2aa0d1bb92ce9ca5c2476cb5710459

git versions

unaffected

unknown

Other versions: unaffected

Product identifiers (CPE)cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*

Packages

Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.

Affected range Recorded fix
From 4.14.0 before 4.15.0Semantic versions4.15.0
From 5.0.0-rc.10 before 5.0.0-rc.14Semantic versions5.0.0-rc.14

Version evidence: OSV · EEF-CVE-2026-88952

View original version evidence (7 explicit versions)

Source version evidence

This source records affected versions without identifying a package ecosystem and name. This evidence is not used for package matching.

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.

Upgrading prevents new links but does not unpick existing ones. An account already linked through this path stays linked, and a victim's email may already have been rewritten to the attacker's address.

Operators whose register action or sign-in action matched on anything other than the email should review their UserIdentity rows for links whose provider email does not match the linked account's email, and check affected accounts for a rewritten email address.

EEF guidance ↗

Set trust_email_verified? false on the affected strategy, which refuses the sign-in rather than linking it and closes both the register and the sign-in path.

Alternatively, key the register action's upsert_identity, or the sign-in action's read filter, on the email attribute, which restores the premise the gate assumes.

EEF guidance ↗

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

Summary

Improper Authentication vulnerability in team-alembic AshAuthentication allows an attacker to be signed in as another user by linking an OAuth2 identity to an account that is not theirs.

AshAuthentication.Strategy.OAuth2.UserResolver.resolve/3 matches an existing account using the register action's upsert_identity keys, then gates linking the incoming provider identity to it on email_trusted?/2, which reads only the provider's email_verified boolean and never compares the provider's email value with the matched account's email. That gate assumes the account was matched by its email field, so under any other upsert_identity it is vacuous and an attacker presenting their own verified email is attached to, and issued a session for, an account matched on some other attribute. The same unguarded gate applies in OAuth2.SignInPreparation on the registration_enabled? false path, where the account is matched by the sign-in action's read filter instead. The upsert also rewrites the matched account's email to the attacker's address, so later account recovery reaches the attacker rather than the owner.

This issue affects ash_authentication: from 4.14.0 before 4.15.0 and from 5.0.0-rc.10 before 5.0.0-rc.14.

Impact

An attacker who controls a provider account with a verified email of their own is signed in as a different local user, holding a session bearing that user's subject, with no interaction from the victim and no need to pre-register. Because the link also rewrites the matched account's email to the attacker's address, account recovery for the victim is redirected to the attacker and the compromise survives the provider identity being unlinked.

Workarounds

Set trust_email_verified? false on the affected strategy, which refuses the sign-in rather than linking it and closes both the register and the sign-in path.

Alternatively, key the register action's upsert_identity, or the sign-in action's read filter, on the email attribute, which restores the premise the gate assumes.

Configurations

The strategy must have trust_email_verified? enabled, and the account must be matched on something other than the email: a register action whose upsert_identity keys are not the email attribute, or, with registration_enabled? false, a sign-in action whose read filter is not the email.

trust_email_verified? defaults to false on the base oauth2 strategy, but the apple, auth0, github, google and slack strategies each set it to true in their own DSL.

Solutions

Upgrading prevents new links but does not unpick existing ones. An account already linked through this path stays linked, and a victim's email may already have been rewritten to the attacker's address.

Operators whose register action or sign-in action matched on anything other than the email should review their UserIdentity rows for links whose provider email does not match the linked account's email, and check affected accounts for a rewritten email address.

References

8 sources

Inside the record

Evidence available

Package identity
Version evidence
Remediation guidance
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-88952

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-287 ↗

CWE-287 Improper Authentication

EEF

Related →

Environment requirements

These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.

EEF · platform conditions

All conditions must hold

Any condition may hold

Vulnerable product

cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*

From (inclusive): 4.14.0

Before: 4.15.0

Vulnerable product

cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*

From (inclusive): 5.0.0-rc.10

Before: 5.0.0-rc.14

Applicability preview
[
  {
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "4.15.0",
            "versionStartIncluding": "4.14.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "5.0.0-rc.14",
            "versionStartIncluding": "5.0.0-rc.10",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "AND"
  }
]
Contributing organizations · 2
EEF

Assigning organization

2026-11-20
CISA-ADP

Additional data publisher

2026-09-17

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
  1. OSV · EEF-CVE-2026-88952

    Observed 2026-11-20T07:21:25.178Z · upstream updated 2026-11-20T06:15:06.825Z

    References changed

    before

    [
      "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-wc6x-276q-jrf9",
      "https://cna.erlef.org/cves/CVE-2026-88952.html",
      "https://github.com/team-alembic/ash_authentication/commit/64530644f9b37ebb76ca14aeb83a77597a0034b7",
      "https://github.com/team-alembic/ash_authentication/commit/42edcd8ebb13fafbb168f12591d7518ce0611fec",
      "https://github.com/team-alembic/ash_authentication/commit/738bf9f32f2aa0d1bb92ce9ca5c2476cb5710459",
      "https://github.com/team-alembic/ash_authentication/commit/2bd630eef8b7c8ae1e90e8fd43ba12fbc7e256ba",
      "https://hex.pm/packages/ash_authentication"
    ]

    after

    [
      "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-wc6x-276q-jrf9",
      "https://cna.erlef.org/cves/CVE-2026-88952.html",
      "https://github.com/team-alembic/ash_authentication/commit/42edcd8ebb13fafbb168f12591d7518ce0611fec",
      "https://github.com/team-alembic/ash_authentication/commit/64530644f9b37ebb76ca14aeb83a77597a0034b7",
      "https://github.com/team-alembic/ash_authentication/commit/2bd630eef8b7c8ae1e90e8fd43ba12fbc7e256ba",
      "https://github.com/team-alembic/ash_authentication/commit/738bf9f32f2aa0d1bb92ce9ca5c2476cb5710459",
      "https://hex.pm/packages/ash_authentication"
    ]
  2. CVE · CVE-2026-88952

    Observed 2026-11-20T06:36:24.141Z · upstream updated 2026-11-20T06:03:13.672Z

    Product or version evidence changed

    before

    [
      {
        "vendor": "team-alembic",
        "name": "ash_authentication",
        "platforms": [],
        "versions": [
          {
            "version": "4.14.0",
            "status": "affected",
            "lessThan": "4.15.0",
            "versionType": "semver"
          },
          {
            "version": "5.0.0-rc.10",
            "status": "affected",
            "lessThan": "5.0.0-rc.14",
            "versionType": "semver"
          }
        ],
        "defaultStatus": "unaffected",
        "packageURL": "pkg:hex/ash_authentication",
        "packageIdentity": {
          "ecosystem": "Hex",
          "name": "ash_authentication"
        },
        "cpes": [
          "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"
        ],
        "source": "EEF",
        "url": "https://www.cve.org/CVERecord?id=CVE-2026-88952"
      },
      {
        "vendor": "team-alembic",
        "name": "ash_authentication",
        "platforms": [],
        "versions": [
          {
            "version": "64530644f9b37ebb76ca14aeb83a77597a0034b7",
            "status": "affected",
            "lessThan": "738bf9f32f2aa0d1bb92ce9ca5c2476cb5710459",
            "versionType": "git"
          },
          {
            "version": "42edcd8ebb13fafbb168f12591d7518ce0611fec",
            "status": "affected",
            "lessThan": "2bd630eef8b7c8ae1e90e8fd43ba12fbc7e256ba",
            "versionType": "git"
          }
        ],
        "defaultStatus": "unaffected",
        "packageURL": "pkg:github/team-alembic/ash_authentication",
        "cpes": [
          "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"
        ],
        "source": "EEF",
        "url": "https://www.cve.org/CVERecord?id=CVE-2026-88952"
      }
    ]

    after

    [
      {
        "vendor": "team-alembic",
        "name": "ash_authentication",
        "platforms": [],
        "versions": [
          {
            "version": "4.14.0",
            "status": "affected",
            "lessThan": "4.15.0",
            "versionType": "semver"
          },
          {
            "version": "5.0.0-rc.10",
            "status": "affected",
            "lessThan": "5.0.0-rc.14",
            "versionType": "semver"
          }
        ],
        "defaultStatus": "unaffected",
        "packageURL": "pkg:hex/ash_authentication",
        "packageIdentity": {
          "ecosystem": "Hex",
          "name": "ash_authentication"
        },
        "cpes": [
          "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"
        ],
        "source": "EEF",
        "url": "https://www.cve.org/CVERecord?id=CVE-2026-88952"
      },
      {
        "vendor": "team-alembic",
        "name": "ash_authentication",
        "platforms": [],
        "versions": [
          {
            "version": "42edcd8ebb13fafbb168f12591d7518ce0611fec",
            "status": "affected",
            "lessThan": "2bd630eef8b7c8ae1e90e8fd43ba12fbc7e256ba",
            "versionType": "git"
          },
          {
            "version": "64530644f9b37ebb76ca14aeb83a77597a0034b7",
            "status": "affected",
            "lessThan": "738bf9f32f2aa0d1bb92ce9ca5c2476cb5710459",
            "versionType": "git"
          }
        ],
        "defaultStatus": "unaffected",
        "packageURL": "pkg:github/team-alembic/ash_authentication",
        "cpes": [
          "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"
        ],
        "source": "EEF",
        "url": "https://www.cve.org/CVERecord?id=CVE-2026-88952"
      }
    ]
    References changed

    before

    [
      "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-wc6x-276q-jrf9",
      "https://cna.erlef.org/cves/CVE-2026-88952.html",
      "https://osv.dev/vulnerability/EEF-CVE-2026-88952",
      "https://github.com/team-alembic/ash_authentication/commit/64530644f9b37ebb76ca14aeb83a77597a0034b7",
      "https://github.com/team-alembic/ash_authentication/commit/42edcd8ebb13fafbb168f12591d7518ce0611fec",
      "https://github.com/team-alembic/ash_authentication/commit/738bf9f32f2aa0d1bb92ce9ca5c2476cb5710459",
      "https://github.com/team-alembic/ash_authentication/commit/2bd630eef8b7c8ae1e90e8fd43ba12fbc7e256ba"
    ]

    after

    [
      "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-wc6x-276q-jrf9",
      "https://cna.erlef.org/cves/CVE-2026-88952.html",
      "https://osv.dev/vulnerability/EEF-CVE-2026-88952",
      "https://github.com/team-alembic/ash_authentication/commit/42edcd8ebb13fafbb168f12591d7518ce0611fec",
      "https://github.com/team-alembic/ash_authentication/commit/64530644f9b37ebb76ca14aeb83a77597a0034b7",
      "https://github.com/team-alembic/ash_authentication/commit/2bd630eef8b7c8ae1e90e8fd43ba12fbc7e256ba",
      "https://github.com/team-alembic/ash_authentication/commit/738bf9f32f2aa0d1bb92ce9ca5c2476cb5710459"
    ]

Large field values are marked as truncated previews. Original source snapshots remain retained.

Showing up to 50 most recent observed changes.

Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.

medium6.3
CVE-2026-110826Package fixes recorded

AshAuthentication log_out_everywhere leaves sessions valid after a password reset or non-atomic password change

Improper Session Invalidation after Authentication Credential Change vulnerability in team-alembic ash_authentication allows an attacker holding a victim's session token to stay signed in after the victim resets or changes their password.

Recorded fixes — ash_authentication: 4.15.1 or 5.0.0-rc.16. Check your release branch.

Exploitation not established

high7.6
CVE-2026-119215Package fixes recorded

AshAuthentication TOTP setup lets a user install their own authenticator secret on another user's account

Authorization Bypass Through User-Controlled Key vulnerability in team-alembic ash_authentication allows a user with an account to install a TOTP secret they control on another user's account, and then sign in as that user or hold their second factor.

Recorded fixes — ash_authentication: 5.0.0-rc.16. Check your release branch.

Exploitation not established

critical9.1
CVE-2026-76949Package fixes recorded

Remember-me sign-in guard reads a session key that is never written in ash_authentication, allowing session replacement

Authentication Bypass by Spoofing vulnerability in team-alembic ash_authentication allows an attacker who can plant a remember-me cookie in a victim's browser to replace that victim's authenticated session with one for the attacker's own account.

Recorded fixes — ash_authentication: 4.15.0 or 5.0.0-rc.14. Check your release branch.

Exploitation not established

critical9.1
CVE-2026-91039Package fixes recorded

dynamic_oidc identities are not namespaced by connection in ash_authentication, allowing cross-connection account…

Authentication Bypass by Spoofing vulnerability in team-alembic ash_authentication allows an attacker who operates one identity-provider connection of a dynamic_oidc strategy to be signed in as a local user established through a different connection.

Recorded fixes — ash_authentication: 5.0.0-rc.14. Check your release branch.

Exploitation not established