{"id":"CVE-2025-4754","published":"2025-06-17T14:31:37Z","modified":"2026-11-19T08:27:34Z","title":"Missing Session Revocation on Logout in ash_authentication_phoenix","vendor":"team-alembic","product":"ash_authentication_phoenix","tier":"tail","description":{"text":"Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.\n\nThe 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.\n\nThis issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00526,"percentile":0.45482,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2025-4754.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2025-4754","tags":["related"]},{"url":"https://github.com/team-alembic/ash_authentication_phoenix/pull/634","tags":["patch"]},{"url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02","tags":["related"]},{"url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1","tags":["patch"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":9.1},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"team-alembic","affectedVersions":[{"vendor":"team-alembic","product":"ash_authentication_phoenix","versions":[">= 0.1.0, < 2.10.0"]},{"vendor":"team-alembic","product":"ash_authentication_phoenix","versions":[">= 05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02, < a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"]}],"capec":[{"id":"CAPEC-593","name":"Session Hijacking"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-17T14:40:37.216297Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"ash_authentication_phoenix","vulnerableRanges":["<2.10.0"],"patched":["2.10.0"],"from":["GHSA-f7gq-h8jv-h3cq"],"provenance":"source"}],"summary":{"text":"The default sign-out function in ash_authentication_phoenix, injected into an application's auth controller by AshAuthentication.Phoenix.Controller, only clears the session and never revokes stored session or bearer tokens. An attacker who obtains a valid token before the user signs out, through script injection, interception, or device theft, can keep using it until its own expiry, which requires no authentication and only user interaction on the victim's side for the initial capture, with changing the password being the only thing that revokes it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:23Z"},"euvd":{"id":"EUVD-2025-18506","exploited":false,"provenance":"source"}}