Vulnerability advisory

CVE-2025-4754

Missing Session Revocation on Logout in ash_authentication_phoenix

Published Updated OSV record ↗

Also known as EEF-CVE-2025-4754GHSA-f7gq-h8jv-h3cq

Severity
  • CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/team-alembic/ash_authentication_phoenix ↗
05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 to before a3253fb4fc7145aeb403537af1c24d3a8d51ffb1a3253fb4fc7145aeb403537af1c24d3a8d51ffb1
0731a2fda0148bad7106befb4131d68bc8a0a9fc to before f01a9164b2baa707d04ceb7b68f43a1cdc876960f01a9164b2baa707d04ceb7b68f43a1cdc876960
Not specified05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02
Also listed as affected (84)
  • 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

Description

Insufficient Session Expiration vulnerability in team-alembic ash_authentication_phoenix allows a session token captured before sign-out to remain usable afterwards.

The 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.

This issue affects ash_authentication_phoenix: from 0.1.0 before 2.10.0.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools