Missing Session Revocation on Logout in ash_authentication_phoenix
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-4754
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:23 UTC · Revision 1
Source evidence
Missing Session Revocation on Logout in ash_authentication_phoenix
core-osv · Original sourcePublished 17 Jun 2025, 14:31 UTC
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.
osv:CVE-2025-4754
Complete source record
{
"id": "f224db7e617f2c00f1ce2dd6dbe96ac2b424caf8584867c9806da75ed637cd4f",
"url": "https://osv.dev/vulnerability/CVE-2025-4754",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Missing Session Revocation on Logout in ash_authentication_phoenix",
"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.",
"evidence": "osv:CVE-2025-4754",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2025-4754",
"aliases": [
"CVE-2025-4754",
"EEF-CVE-2025-4754",
"GHSA-f7gq-h8jv-h3cq"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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": [
{
"ranges": [
{
"repo": "https://github.com/team-alembic/ash_authentication_phoenix",
"type": "GIT",
"events": [
{
"introduced": "05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"
},
{
"fixed": "a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"
},
{
"introduced": "0731a2fda0148bad7106befb4131d68bc8a0a9fc"
},
{
"fixed": "f01a9164b2baa707d04ceb7b68f43a1cdc876960"
},
{
"fixed": "05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"
},
{
"fixed": "a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0.1.0"
},
{
"fixed": "2.10.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.9.0",
"v2.7.0",
"v2.6.3",
"v2.6.2",
"v2.6.1",
"v2.6.0",
"v2.5.4",
"v2.5.3",
"v2.5.2",
"v2.5.1",
"v2.5.0",
"v2.4.8",
"v2.4.7",
"v2.4.6",
"v2.4.5",
"v2.4.4",
"v2.4.3",
"v2.4.2",
"v2.4.1",
"v2.4.0",
"v2.3.0",
"v2.2.1",
"v2.2.0",
"v2.1.11",
"v2.1.10",
"v2.1.9",
"v2.1.8",
"v2.1.7",
"v2.1.6",
"v2.1.5",
"v2.1.4",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v2.0.0-rc.3",
"v2.0.0-rc.2",
"v2.0.0-rc.1",
"v2.0.0-rc.0",
"v1.9.4",
"v1.9.2",
"v1.9.1",
"v1.9.0",
"v1.8.7",
"v1.8.6",
"v1.8.5",
"v1.8.4",
"v1.8.3",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.6",
"v1.6.4",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.0",
"v1.4.8",
"v1.4.7",
"v1.4.6",
"v1.4.5",
"v1.4.4",
"v1.4.3",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.1",
"v1.3.0",
"v1.2.0",
"v1.1.0",
"v1.0.1",
"v1.0.0",
"v0.5.0",
"v0.4.0",
"v0.3.0",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-4754.json"
}
}
],
"modified": "2026-10-28T02:30:48.721056408Z",
"provider": "osv",
"references": [
"https://cna.erlef.org/cves/CVE-2025-4754.html",
"https://github.com",
"https://osv.dev/vulnerability/EEF-CVE-2025-4754",
"https://repo.hex.pm",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4754.json",
"https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq",
"https://nvd.nist.gov/vuln/detail/CVE-2025-4754",
"https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02",
"https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1",
"https://github.com/team-alembic/ash_authentication_phoenix/pull/634",
"https://github.com/team-alembic/ash_authentication_phoenix"
],
"provider_metadata": {
"cwe_ids": [
"CWE-613"
],
"cna_assigner": "EEF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4754.json"
}
},
"related_cves": [
{
"value": "CVE-2025-4754",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516955,
"published_at": "2025-06-17T14:31:37.006+00:00"
}