CVEBrief

Home / team-alembic / ash_authentication / CVE-2026-91039

CVE-2026-91039: is it exploited, and which versions of team-alembic ash_authentication are affected and fixed?

CVE-2026-91039 is an authentication bypass by spoofing vulnerability in team-alembic ash_authentication. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: ash_authentication from 5.0.0-rc.10 before 5.0.0-rc.14 (CVE record by EEF). Fixed in 5.0.0-rc.14 (CVE record by EEF). Severity: Critical (9.1, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 08:34 UTC and NVD November 19, 2026, 07:07 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:08 UTC
Affected
ash_authentication from 5.0.0-rc.10 before 5.0.0-rc.14
CVE record by EEF
Fixed in
5.0.0-rc.14
CVE record by EEF
Severity
Critical 9.1
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.40% in 30 days
higher than 37% of CVEs; FIRST, December 2, 2026

What is CVE-2026-91039?

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

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. The strategy is meant to keep each connection in its own identity namespace by writing every UserIdentity row's strategy field as "<name>/<connection_id>", but that namespacing never takes effect. __connection_id__ is populated only on the ephemeral runtime struct built per request in dynamic_oidc/plug.ex, and DynamicOidc.IdentityChange.change/3 re-fetches the strategy from the compile-time DSL through Info.strategy_for_action, yielding the persisted struct whose __connection_id__ is its defstruct default of nil. OAuth2.identity_strategy_name/1 therefore falls back to the bare strategy name for both the identity write and the reads in oauth2/user_resolver.ex and oauth2/sign_in_preparation.ex. Since the identity resource's unique key is (uid, strategy), one row exists per sub across every connection, and the identity-match branch runs before any email check. Neither strategy handles iss, so nothing else distinguishes the issuers: OpenID Connect Core section 5.7 makes sub unique only within an issuer, so two connections numbering subjects independently share one subject space. This issue affects ash_authentication: from 5.0.0-rc.10 before 5.0.0-rc.14.

From the CVE record by EEF, last updated November 19, 2026, 08:28 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
team-alembicash_authenticationfrom 5.0.0-rc.10 before 5.0.0-rc.145.0.0-rc.14
team-alembicash_authentication team-alembic/ash_authenticationnot stated

As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-91039?

ScoreVersionVectorSource
Critical 9.1CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NEEF

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-91039 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 17, 2026)
EPSS
0.40% probability of exploitation activity in the next 30 days, percentile 36.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

Upgrading is not sufficient on its own, for two reasons. Namespacing changes the value the identity lookup keys on, so UserIdentity rows written before the fix, all holding the bare strategy name, no longer match. Each row's strategy must be relinked in place to "<name>/<connection_id>". Deleting the rows does not work: the block is the account match that follows, refused under the default on_untrusted_email_match :reject whether the row exists or not, and deleting also discards the stored refresh token. Where a deployment has one connection the mapping is unambiguous and the update is mechanical, but it must run in the same deployment as the upgrade and before users sign in, or a newly written namespaced row can collide with a surviving bare row on the (uid, strategy) index. The fix also cannot separate accounts already merged, and the merge is not detectable from the database, because a collision never produced two rows to compare: the second user's identity was never created and the surviving row looks legitimate. Deployments running more than one connection must audit out of band, by exporting each connection's set of sub values from its identity provider and intersecting them. Any sub present in more than one set identifies an account that may have been merged.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
September 15, 2026
Published
September 17, 2026, 15:19 UTC
CVE record updated
November 19, 2026, 08:28 UTC by EEF
NVD
Deferred, last modified September 18, 2026, 18:16 UTC
Last checked
CVE list November 19, 2026, 08:34 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect ash_authentication?

Every CVE in ash_authentication

Questions about CVE-2026-91039

Is CVE-2026-91039 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of team-alembic ash_authentication are affected by CVE-2026-91039?

ash_authentication from 5.0.0-rc.10 before 5.0.0-rc.14, per the CVE record by EEF. The tables above give every range the sources list.

Which version fixes CVE-2026-91039?

5.0.0-rc.14, per the CVE record by EEF. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-91039?

Critical (9.1, CVSS 4.0, from EEF). The severity table above shows each score with its source.

Where is the official record of CVE-2026-91039?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.