Vulnerability advisory
CVE-2025-4754
Missing Session Revocation on Logout in ash_authentication_phoenix
Also known as EEF-CVE-2025-4754GHSA-f7gq-h8jv-h3cq
- CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/team-alembic/ash_authentication_phoenix ↗ | |
| 05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 to before a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 | a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 |
| 0731a2fda0148bad7106befb4131d68bc8a0a9fc to before f01a9164b2baa707d04ceb7b68f43a1cdc876960 | f01a9164b2baa707d04ceb7b68f43a1cdc876960 |
| Not specified | 05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 |
Also listed as affected (84)
| |
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.
References
- Webcna.erlef.org/cves/CVE-2025-4754.html ↗
- Webgithub.com ↗
- Webosv.dev/vulnerability/EEF-CVE-2025-4754 ↗
- Webrepo.hex.pm ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4754.json ↗
- Advisorygithub.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-4754 ↗
- Fixgithub.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 ↗
- Fixgithub.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 ↗
- Fixgithub.com/team-alembic/ash_authentication_phoenix/pull/634 ↗
- Packagegithub.com/team-alembic/ash_authentication_phoenix ↗