Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.
The default sign_out/2 that AshAuthentication.Phoenix.Controller injects into an application's auth controller only calls Plug.Conn.clear_session/1. It never revokes the stored session or bearer tokens, so a token obtained before sign-out, through script injection, interception or device theft, keeps authenticating until its own expiry. Changing the password still revokes it.
This issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.
{
"$schema": "https://cna.erlef.org/schemas/osv/record-0.1.0.json",
"capec_ids": [
"CAPEC-593"
],
"cpe_ids": [
"cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-613"
]
}{
"$schema": "https://cna.erlef.org/schemas/osv/affected-0.1.0.json",
"modules": [
"'Elixir.AshAuthentication.Phoenix.Controller'"
],
"program_files": [
"lib/ash_authentication_phoenix/controller.ex"
],
"program_routines": [
"'Elixir.AshAuthentication.Phoenix.Controller':'__using__'/1"
]
}
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
[
"'Elixir.AshAuthentication.Phoenix.Controller'"
]
[
"lib/ash_authentication_phoenix/controller.ex"
]
[
"'Elixir.AshAuthentication.Phoenix.Controller':'__using__'/1"
]
"https://cna.erlef.org/osv/EEF-CVE-2025-4754.json"
"https://cna.erlef.org/schemas/osv/affected-0.1.0.json"
[
"'Elixir.AshAuthentication.Phoenix.Controller'"
]
[
"lib/ash_authentication_phoenix/controller.ex"
]
[
"'Elixir.AshAuthentication.Phoenix.Controller':'__using__'/1"
]
"https://cna.erlef.org/osv/EEF-CVE-2025-4754.json"