{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-4754","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","state":"PUBLISHED","assignerShortName":"EEF","dateReserved":"2025-05-15T09:03:11.355Z","datePublished":"2025-06-17T14:31:37.006Z","dateUpdated":"2026-09-22T09:23:20.437Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.AshAuthentication.Phoenix.Controller'"],"packageName":"ash_authentication_phoenix","packageURL":"pkg:hex/ash_authentication_phoenix","product":"ash_authentication_phoenix","programFiles":["lib/ash_authentication_phoenix/controller.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Phoenix.Controller':'__using__'/1"}],"repo":"https://github.com/team-alembic/ash_authentication_phoenix","vendor":"team-alembic","versions":[{"lessThan":"2.10.0","status":"affected","version":"0.1.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.AshAuthentication.Phoenix.Controller'"],"packageName":"team-alembic/ash_authentication_phoenix","packageURL":"pkg:github/team-alembic/ash_authentication_phoenix","product":"ash_authentication_phoenix","programFiles":["lib/ash_authentication_phoenix/controller.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Phoenix.Controller':'__using__'/1"}],"repo":"https://github.com/team-alembic/ash_authentication_phoenix","vendor":"team-alembic","versions":[{"lessThan":"a3253fb4fc7145aeb403537af1c24d3a8d51ffb1","status":"affected","version":"05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*","versionEndExcluding":"2.10.0","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"remediation reviewer","value":"James Harton"},{"lang":"en","type":"remediation developer","value":"Zach Daniel"},{"lang":"en","type":"analyst","value":"Mike Buhot"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"analyst","value":"Josh Price / Alembic"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.</p>\n<p>The default <code>sign_out/2</code> that <code>AshAuthentication.Phoenix.Controller</code> injects into an application's auth controller only calls <code>Plug.Conn.clear_session/1</code>. 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.</p>\n<p>This issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.</p>"},{"base64":false,"type":"text/markdown","value":"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."}],"value":"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."}],"impacts":[{"capecId":"CAPEC-593","descriptions":[{"lang":"en","value":"CAPEC-593 Session Hijacking"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-613","description":"CWE-613 Insufficient Session Expiration","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF","dateUpdated":"2026-09-22T09:23:20.437Z"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq"},{"name":"EEF CNA record for CVE-2025-4754","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2025-4754.html"},{"name":"OSV record EEF-CVE-2025-4754","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2025-4754"},{"tags":["patch"],"url":"https://github.com/team-alembic/ash_authentication_phoenix/pull/634"},{"name":"Introducing commit 05ab4f4 in team-alembic/ash_authentication_phoenix","tags":["related"],"url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"},{"name":"Fix commit a3253fb in team-alembic/ash_authentication_phoenix","tags":["patch"],"url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"}],"source":{"discovery":"UNKNOWN"},"title":"Missing Session Revocation on Logout in ash_authentication_phoenix"},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-17T14:40:37.216297Z","id":"CVE-2025-4754","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-06-17T14:41:09.297Z"}}]}}