CVE-2025-4754
Missing Session Revocation on Logout in ash_authentication_phoenix
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.
INFO
Published Date :
June 17, 2025, 3:15 p.m.
Last Modified :
Sept. 22, 2026, 10:17 a.m.
Remotely Exploit :
Yes !
Source :
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | LOW | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Solution
- Update ash_authentication_phoenix to version 2.10.0.
- Apply security patches if available.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-4754.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-4754 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-4754
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-4754 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-4754 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Sep. 22, 2026
Action Type Old Value New Value Changed Description Insufficient Session Expiration vulnerability in ash-project ash_authentication_phoenix allows Session Hijacking. This vulnerability is associated with program files lib/ash_authentication_phoenix/controller.ex. This issue affects ash_authentication_phoenix until 2.10.0. 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. Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/4xxx/CVE-2025-4754.json">CVE-2025-4754</a> Added Reference https://cna.erlef.org/cves/CVE-2025-4754.html Added Reference https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 Added Reference https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 Added Reference https://github.com/team-alembic/ash_authentication_phoenix/pull/634 Added Reference https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq Added Reference https://osv.dev/vulnerability/EEF-CVE-2025-4754 Removed Reference https://cna.erlef.org/cves/CVE-2025-4754.html Removed Reference https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 Removed Reference https://github.com/team-alembic/ash_authentication_phoenix/pull/634 Removed Reference https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq Removed Reference https://osv.dev/vulnerability/EEF-CVE-2025-4754 -
CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Jul. 24, 2026
Action Type Old Value New Value Changed Affected [{'cpes': ['cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/team-alembic/ash_authentication_phoenix', 'vendor': 'ash-project', 'product': 'ash_authentication_phoenix', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '2.10.0', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/ash_authentication_phoenix', 'packageName': 'ash_authentication_phoenix', 'programFiles': ['lib/ash_authentication_phoenix/controller.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/team-alembic/ash_authentication_phoenix', 'vendor': 'ash-project', 'product': 'ash_authentication_phoenix', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': 'a3253fb4fc7145aeb403537af1c24d3a8d51ffb1', 'versionType': 'git'}], 'packageURL': 'pkg:github/team-alembic/ash_authentication_phoenix', 'packageName': 'team-alembic/ash_authentication_phoenix', 'programFiles': ['lib/ash_authentication_phoenix/controller.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected'}] [{'cpes': ['cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/team-alembic/ash_authentication_phoenix', 'vendor': 'ash-project', 'product': 'ash_authentication_phoenix', 'versions': [{'status': 'affected', 'version': '1.0.0', 'lessThan': '2.10.0', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/ash_authentication_phoenix', 'packageName': 'ash_authentication_phoenix', 'programFiles': ['lib/ash_authentication_phoenix/controller.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/team-alembic/ash_authentication_phoenix', 'vendor': 'ash-project', 'product': 'ash_authentication_phoenix', 'versions': [{'status': 'affected', 'version': 'de3ecd611fb0f3b3f9f861f9397c2a5e97f5f4d2', 'lessThan': 'a3253fb4fc7145aeb403537af1c24d3a8d51ffb1', 'versionType': 'git'}], 'packageURL': 'pkg:github/team-alembic/ash_authentication_phoenix', 'packageName': 'team-alembic/ash_authentication_phoenix', 'programFiles': ['lib/ash_authentication_phoenix/controller.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected'}] -
CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/team-alembic/ash_authentication_phoenix', 'vendor': 'ash-project', 'product': 'ash_authentication_phoenix', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '2.10.0', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/ash_authentication_phoenix', 'packageName': 'ash_authentication_phoenix', 'programFiles': ['lib/ash_authentication_phoenix/controller.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/team-alembic/ash_authentication_phoenix', 'vendor': 'ash-project', 'product': 'ash_authentication_phoenix', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': 'a3253fb4fc7145aeb403537af1c24d3a8d51ffb1', 'versionType': 'git'}], 'packageURL': 'pkg:github/team-alembic/ash_authentication_phoenix', 'packageName': 'team-alembic/ash_authentication_phoenix', 'programFiles': ['lib/ash_authentication_phoenix/controller.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-4754', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2025-06-17T14:40:37.216297Z'} -
CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Apr. 06, 2026
Action Type Old Value New Value Added Reference https://cna.erlef.org/cves/CVE-2025-4754.html Added Reference https://osv.dev/vulnerability/EEF-CVE-2025-4754 -
CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Jul. 04, 2025
Action Type Old Value New Value Added Reference https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 -
New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Jun. 17, 2025
Action Type Old Value New Value Added Description Insufficient Session Expiration vulnerability in ash-project ash_authentication_phoenix allows Session Hijacking. This vulnerability is associated with program files lib/ash_authentication_phoenix/controller.ex. This issue affects ash_authentication_phoenix until 2.10.0. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-613 Added Reference https://github.com/team-alembic/ash_authentication_phoenix/pull/634 Added Reference https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq