{"id":"CVE-2025-4754","summary":"Missing Session Revocation on Logout in ash_authentication_phoenix","details":"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.","aliases":["EEF-CVE-2025-4754","GHSA-f7gq-h8jv-h3cq"],"modified":"2026-09-24T03:45:10.669818865Z","published":"2025-06-17T14:31:37.006Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-613"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4754.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"},{"fixed":"a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"}]}]},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2025-4754.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2025-4754"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4754.json"},{"type":"ADVISORY","url":"https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4754"},{"type":"FIX","url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"},{"type":"FIX","url":"https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"},{"type":"FIX","url":"https://github.com/team-alembic/ash_authentication_phoenix/pull/634"},{"type":"PACKAGE","url":"https://github.com/team-alembic/ash_authentication_phoenix"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/team-alembic/ash_authentication_phoenix","events":[{"introduced":"0731a2fda0148bad7106befb4131d68bc8a0a9fc"},{"fixed":"f01a9164b2baa707d04ceb7b68f43a1cdc876960"},{"fixed":"05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02"},{"fixed":"a3253fb4fc7145aeb403537af1c24d3a8d51ffb1"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0.1.0"},{"fixed":"2.10.0"}]}}],"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"}}],"schema_version":"1.9.0","severity":[{"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"}]}