ADVISORIES

Erlang Ecosystem Foundation

EEF-CVE-2025-4754

Missing Session Revocation on Logout in ash_authentication_phoenix

Details

Summary

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.

Affected packages

EcosystemPackageAffected versions
Hexash_authentication_phoenix
From 0.1.0 before 2.10.0 (fixed in 2.10.0)
v2.9.0, v2.7.0, v2.6.3, v2.6.2, v2.6.1, v2.6.0, v2.5.4, v2.5.3 and 76 more

References