{"id":"CVE-2025-4754","aliases":["EEF-CVE-2025-4754","GHSA-f7gq-h8jv-h3cq"],"title":"Missing Session Revocation on Logout in ash_authentication_phoenix","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nInsufficient 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.","severity":"low","score":2.3,"published":"2025-06-17T14:31:37.006Z","modified":"2026-11-25T06:30:04.735Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash_authentication_phoenix","sources":[{"name":"OSV · EEF-CVE-2025-4754","url":"https://osv.dev/vulnerability/EEF-CVE-2025-4754"}],"ranges":[{"events":[{"introduced":"0.1.0"},{"fixed":"2.10.0"}],"type":"SEMVER"}],"versions":["1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.5.0","1.5.1","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.7.0","1.7.1","1.7.2","1.7.3","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","2.0.0","2.0.0-rc.0","2.0.0-rc.1","2.0.0-rc.2","2.0.1","2.0.2","2.1.0","2.1.1","2.1.10","2.1.11","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.1","2.3.0","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.6.1","2.6.2","2.6.3","2.7.0","2.8.0","2.9.0"],"fixed":["2.10.0"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"},{"fixed":"a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"}],"type":"GIT","repo":"https://github.com/team-alembic/ash_authentication_phoenix"}],"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"]}],"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","https://hex.pm/packages/ash_authentication_phoenix"],"sources":[{"name":"CVE","id":"CVE-2025-4754","modified":"2026-11-19T08:27:34.138Z","url":"https://www.cve.org/CVERecord?id=CVE-2025-4754"},{"name":"OSV","id":"EEF-CVE-2025-4754","modified":"2026-11-25T06:30:04.735701686Z","url":"https://osv.dev/vulnerability/EEF-CVE-2025-4754"}],"assessments":[{"source":"EEF","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","score":2.3},{"source":"OSV","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","score":2.3}],"cve":{"records":[{"id":"CVE-2025-4754","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2025-05-15T09:03:11.355Z","published":"2025-06-17T14:31:37.006Z","modified":"2026-11-19T08:27:34.138Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:27:34.138Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2025-06-17T14:41:09.297Z"}],"references":[{"url":"https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2025-4754.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2025-4754","tags":["related"],"source":"EEF"},{"url":"https://github.com/team-alembic/ash_authentication_phoenix/pull/634","tags":["patch"],"source":"EEF"},{"url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02","tags":["related"],"source":"EEF"},{"url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-613","description":"CWE-613 DEPRECATED: Insufficient Session Expiration","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"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"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2025-06-17T14:40:37.216297Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"team-alembic","name":"ash_authentication_phoenix","platforms":[],"versions":[{"version":"0.1.0","status":"affected","lessThan":"2.10.0","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash_authentication_phoenix","packageIdentity":{"ecosystem":"Hex","name":"ash_authentication_phoenix"},"cpes":["cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2025-4754"},{"vendor":"team-alembic","name":"ash_authentication_phoenix","platforms":[],"versions":[{"version":"05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02","status":"affected","lessThan":"a3253fb4fc7145aeb403537af1c24d3a8d51ffb1","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/team-alembic/ash_authentication_phoenix","cpes":["cpe:2.3:a:team-alembic:ash_authentication_phoenix:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2025-4754"}],"remediation":[],"observedAt":"2026-11-25T07:55:28.433Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T00:35:30.798Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T05:15:32.492Z","attemptedAt":"2026-11-21T05:15:32.492Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-21T05:05:34.048Z","attemptedAt":"2026-11-21T05:05:34.048Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T04:50:32.896Z","attemptedAt":"2026-11-21T04:50:32.896Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T04:30:35.208Z","attemptedAt":"2026-11-21T04:30:35.208Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2025-4754","url":"https://www.first.org/epss/","probability":0.00526,"percentile":0.45482,"date":"2026-11-20","checkedAt":"2026-11-21T04:30:35.208Z"},{"source":"ENISA EUVD","id":"EUVD-2025-18506","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-18506","modified":"Nov 19, 2026, 8:27:34 AM","score":2.3,"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","checkedAt":"2026-11-21T04:50:32.896Z"},{"source":"GitHub Advisory Database","id":"GHSA-f7gq-h8jv-h3cq","url":"https://github.com/advisories/GHSA-f7gq-h8jv-h3cq","modified":"2026-04-06T23:15:03Z","checkedAt":"2026-11-21T05:05:34.048Z"},{"source":"NVD","id":"CVE-2025-4754","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4754","modified":"2026-09-22T10:17:08.407","score":2.3,"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/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","checkedAt":"2026-11-21T05:15:32.492Z"}],"aiSummary":{"text":"The ash_authentication_phoenix product, versions 0.1.0 before 2.10.0, has an insufficient session expiration vulnerability, allowing a captured session token to remain usable after sign-out. An attacker with access to a session token, possibly obtained through script injection or device theft, can use it until its expiry. Changing the password revokes the token.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-19T09:11:07.782Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2025-4754"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2025-4754"}]}}