{"id":"CVE-2025-4754","state":"PUBLISHED","title":"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.\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.","publishedAt":"2025-06-17T14:31:37.006Z","updatedAt":"2026-09-22T09:23:20.437Z","severity":{"score":2.3,"label":"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","source":"EEF"},"assigner":"EEF","products":["team-alembic ash_authentication_phoenix"],"affected":[{"vendor":"team-alembic","product":"ash_authentication_phoenix","packageName":"ash_authentication_phoenix","packageURL":"pkg:hex/ash_authentication_phoenix","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","lessThan":"2.10.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Phoenix.Controller'"],"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","product":"ash_authentication_phoenix","packageName":"team-alembic/ash_authentication_phoenix","packageURL":"pkg:github/team-alembic/ash_authentication_phoenix","defaultStatus":"unaffected","versions":[{"version":"05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02","status":"affected","lessThan":"a3253fb4fc7145aeb403537af1c24d3a8d51ffb1","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Phoenix.Controller'"],"programFiles":["lib/ash_authentication_phoenix/controller.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Phoenix.Controller':'__using__'/1"}],"repo":"https://github.com/team-alembic/ash_authentication_phoenix"}],"references":["https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq","https://cna.erlef.org/cves/CVE-2025-4754.html","https://osv.dev/vulnerability/EEF-CVE-2025-4754","https://github.com/team-alembic/ash_authentication_phoenix/pull/634","https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02","https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"],"weaknesses":["CWE-613"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/4xxx/CVE-2025-4754.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-4754","state":"PUBLISHED","datePublished":"2025-06-17T14:31:37.006Z","dateUpdated":"2026-09-22T09:23:20.437Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2025-05-15T09:03:11.355Z"},"containers":{"cna":{"title":"Missing Session Revocation on Logout in ash_authentication_phoenix","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"team-alembic","product":"ash_authentication_phoenix","packageName":"ash_authentication_phoenix","packageURL":"pkg:hex/ash_authentication_phoenix","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","lessThan":"2.10.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Phoenix.Controller'"],"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","product":"ash_authentication_phoenix","packageName":"team-alembic/ash_authentication_phoenix","packageURL":"pkg:github/team-alembic/ash_authentication_phoenix","defaultStatus":"unaffected","versions":[{"version":"05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02","status":"affected","lessThan":"a3253fb4fc7145aeb403537af1c24d3a8d51ffb1","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Phoenix.Controller'"],"programFiles":["lib/ash_authentication_phoenix/controller.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Phoenix.Controller':'__using__'/1"}],"repo":"https://github.com/team-alembic/ash_authentication_phoenix"}],"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","name":"EEF CNA record for CVE-2025-4754","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2025-4754","name":"OSV record 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","name":"Introducing commit 05ab4f4 in team-alembic/ash_authentication_phoenix","tags":["related"]},{"url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1","name":"Fix commit a3253fb in team-alembic/ash_authentication_phoenix","tags":["patch"]}],"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":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-22T09:23:20.437Z"},"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"}],"impacts":[{"capecId":"CAPEC-593","descriptions":[{"lang":"en","value":"CAPEC-593 Session Hijacking"}]}],"source":{"discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","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"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-17T14:41:09.297Z"}}]}}}