{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-91039","published":"2026-09-17T16:18:28.700000Z","last_modified":"2026-09-18T18:16:18.527000Z","status":"Deferred","cvss":{"version":"4.0","score":9.1,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/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","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","primary":false},"auth":false,"cwes":["CWE-290"],"cpes":[],"cpes_truncated":false,"vendors":["team-alembic"],"products":["team-alembic/ash_authentication"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"EEF-CVE-2026-91039","ecosystem":"Hex","name":"ash_authentication","purl":"pkg:hex/ash_authentication","ranges":[{"introduced":"5.0.0-rc.10","fixed":"5.0.0-rc.14"}],"versions":["5.0.0-rc.10","5.0.0-rc.11","5.0.0-rc.12","5.0.0-rc.13"],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-91039/","html_en":"/en/cve/CVE-2026-91039/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-91039","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-91039"},"untrusted":{"vendor_name":"team-alembic","product_name":"ash_authentication","desc_en":"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.\n\nThe 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.\n\nThis issue affects ash_authentication: from 5.0.0-rc.10 before 5.0.0-rc.14.","affected":[{"untrusted_vendor":"team-alembic","untrusted_product":"ash_authentication","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"7017f4bf1f124ebf9c289936d588467e","generated":"2026-11-26T23:42:25.731578Z","es":{"untrusted_title":"Omisión de autenticación por suplantación en ash_authentication","untrusted_summary":"Una vulnerabilidad de omisión de autenticación en ash_authentication permite a un atacante que controla un proveedor de identidad en una estrategia dynamic_oidc iniciar sesión como un usuario local establecido a través de una conexión diferente. El problema radica en que el espacio de nombres de conexión no se aplica correctamente, permitiendo que identidades de múltiples proveedores compartan el mismo espacio de sujetos. Afecta versiones desde 5.0.0-rc.10 hasta 5.0.0-rc.13."},"en":{"untrusted_title":"Authentication Bypass by Spoofing in ash_authentication","untrusted_summary":"An authentication bypass vulnerability in ash_authentication allows an attacker controlling one identity provider in a dynamic_oidc strategy to sign in as a local user established through a different connection. The issue stems from improper connection namespacing, allowing identities across multiple providers to share the same subject space. Affects versions from 5.0.0-rc.10 through 5.0.0-rc.13."},"remediation":{"status":"fix","fixed_versions":["5.0.0-rc.14"],"untrusted_action_es":"Actualiza ash_authentication a la versión 5.0.0-rc.14 o posterior para aplicar la corrección de namespacing de conexiones.","untrusted_action_en":"Update ash_authentication to version 5.0.0-rc.14 or later to apply the connection namespacing fix.","vendor_url":"https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-73j9-m294-fvv9"},"reviewed":false},"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-91039.html","tags":[]},{"url":"https://github.com/team-alembic/ash_authentication/commit/64530644f9b37ebb76ca14aeb83a77597a0034b7","tags":[]},{"url":"https://github.com/team-alembic/ash_authentication/commit/73ad16e452670bbf843550a13361bd41e72ad964","tags":[]},{"url":"https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-73j9-m294-fvv9","tags":[]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-91039","tags":[]}]}}