CVE-2025-4754 Missing Session Revocation on Logout in ash_authentication_phoenix
LowCVSS 2.3
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| hex ash_authentication_phoenix(Hex) | <= 2.9.0 | No fix listed |
| team-alembic ash authentication phoenix | >= 0.1.0, < 2.10.0 | 2.10.0 |
| team-alembic ash authentication phoenix | >= 05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02, < a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 | a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 |
References
- github.com related vendor-advisory
- Fix commit a3253fb in team-alembic/ash_authentication_phoenix patch
- nvd.nist.gov third-party-advisory
- github.com patch
- EEF CNA record for CVE-2025-4754 related
- OSV record EEF-CVE-2025-4754 related
- github.com
- Introducing commit 05ab4f4 in team-alembic/ash_authentication_phoenix related