CVE-2025-4754

Missing Session Revocation on Logout in ash_authentication_phoenix

State
Published
Severity
2.3 Low
Published
Jun 17, 2025
Updated
Sep 22, 2026
Reserved
May 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.3 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
ash_authentication_phoenixteam-alembic
  • 0.1.0 to before 2.10.0Affected
ash_authentication_phoenixteam-alembic
  • 05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 to before a3253fb4fc7145aeb403537af1c24d3a8d51ffb1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.