CVE-2026-91039
dynamic_oidc identities are not namespaced by connection in ash_authentication, allowing cross-connection account takeover
Mitigation
- Upgrade ash_authentication to 5.0.0-rc.14 or later.
- Upgrade ash_authentication to 73ad16e452670bbf843550a13361bd41e72ad964 or later.
Who should check
- Anyone running team-alembic ash_authentication >= 5.0.0-rc.10, < 5.0.0-rc.14
- Anyone running team-alembic ash_authentication >= 64530644f9b37ebb76ca14aeb83a77597a0034b7, < 73ad16e452670bbf843550a13361bd41e72ad964
Vulnerability facts
- Affected
- team-alembic ash_authentication >= 5.0.0-rc.10, < 5.0.0-rc.14; team-alembic ash_authentication >= 64530644f9b37ebb76ca14aeb83a77597a0034b7, < 73ad16e452670bbf843550a13361bd41e72ad964
- Fixed in
- team-alembic ash_authentication 5.0.0-rc.14, team-alembic ash_authentication 73ad16e452670bbf843550a13361bd41e72ad964
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.1 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.66% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-290
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| team-alembic ash_authentication | >= 5.0.0-rc.10, < 5.0.0-rc.14 | — | cvelist |
| team-alembic ash_authentication | >= 64530644f9b37ebb76ca14aeb83a77597a0034b7, < 73ad16e452670bbf843550a13361bd41e72ad964 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-91039. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-91039.md Affected: team-alembic ash_authentication >= 5.0.0-rc.10, < 5.0.0-rc.14; team-alembic ash_authentication >= 64530644f9b37ebb76ca14aeb83a77597a0034b7, < 73ad16e452670bbf843550a13361bd41e72ad964 Fixed in: team-alembic ash_authentication 5.0.0-rc.14, team-alembic ash_authentication 73ad16e452670bbf843550a13361bd41e72ad964 Steps: 1. Search this machine and project for team-alembic ash_authentication: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-91039 being exploited?
There is no confirmed exploitation: CVE-2026-91039 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.66% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-91039?
Critical: CVSS 9.1 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-91039?
team-alembic ash_authentication >= 5.0.0-rc.10, < 5.0.0-rc.14; team-alembic ash_authentication >= 64530644f9b37ebb76ca14aeb83a77597a0034b7, < 73ad16e452670bbf843550a13361bd41e72ad964.
Is there a fix for CVE-2026-91039?
Yes. Fixed in team-alembic ash_authentication 5.0.0-rc.14, team-alembic ash_authentication 73ad16e452670bbf843550a13361bd41e72ad964. Upgrade ash_authentication to 5.0.0-rc.14 or later. Upgrade ash_authentication to 73ad16e452670bbf843550a13361bd41e72ad964 or later.
How do I check if I'm affected by CVE-2026-91039?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.