{"answers":{"affected":"3 open source packages ship an affected version, including ash_authentication_phoenix.","exploited":"There is no known exploitation of CVE-2025-4754 in the wild and no public exploit code.","fix":"Upgrade ash_authentication_phoenix to 2.10.0 or later.","what":"CVE-2025-4754 is a low-severity missing authorization vulnerability in team-alembic ash_authentication_phoenix, published on 17 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-4754 and fix it if it is affected.\n\nWhat it is: CVE-2025-4754 is a low-severity missing authorization vulnerability in team-alembic ash_authentication_phoenix, published on 17 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-4754 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ash_authentication_phoenix (Hex): affected all versions; fixed in 2.10.0\n- ash_authentication_phoenix (Hex): affected all versions; fixed in 2.10.0\n- ash_authentication_phoenix (Hex): affected from 0.1.0; fixed in 2.10.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-4754/ (Markdown: https://insights.sbomify.com/CVE-2025-4754/index.md)","id":"CVE-2025-4754","markdown":"https://insights.sbomify.com/CVE-2025-4754/index.md","name":"CVE-2025-4754","record":{"aliases":["EEF-CVE-2025-4754","GHSA-f7gq-h8jv-h3cq"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Elixir authentication library","requires_auth":"none","summary":"Attackers can reuse stolen session tokens after logout because the library fails to revoke them, allowing unauthorized access until token expiry.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"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.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Missing Session Revocation on Logout in ash_authentication_phoenix","id":"CVE-2025-4754","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":3,"n_references":6,"next":{"headline":"D-Link DI-7003GV2 netconfig.asp sub_497DE4 improper authentication","id":"CVE-2025-4755"},"packages":[{"ecosystem":"Hex","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"ash_authentication_phoenix","purl":null,"source":"GHSA-f7gq-h8jv-h3cq"},{"ecosystem":"Hex","fixed":["2.10.0"],"introduced":["0"],"last_affected":[],"package":"ash_authentication_phoenix","purl":"pkg:hex/ash_authentication_phoenix","source":"GHSA-f7gq-h8jv-h3cq"},{"ecosystem":"Hex","fixed":["2.10.0"],"introduced":["0.1.0"],"last_affected":[],"package":"ash_authentication_phoenix","purl":"pkg:hex/ash_authentication_phoenix","source":"EEF-CVE-2025-4754"}],"prev":{"headline":"D-Link DI-7003GV2 login.data information disclosure","id":"CVE-2025-4753"},"products":["ash_authentication_phoenix"],"published":"2025-06-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-22","vendors":["team-alembic"]},"summary":"Attackers can reuse stolen session tokens after logout because the library fails to revoke them, allowing unauthorized access until token expiry.","url":"https://insights.sbomify.com/CVE-2025-4754/"}