---
id: CVE-2025-4754
title: >-
  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 injec…
summary: >-
  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 injec…
severity: low
cvss: 2.3
cvssVector: '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'
cwe:
  - CWE-613
vendor: team-alembic
product: ash_authentication_phoenix
affected:
  - ash_authentication_phoenix >= 0.1.0 < 2.10.0
  - >-
    team-alembic/ash_authentication_phoenix >=
    05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02 <
    a3253fb4fc7145aeb403537af1c24d3a8d51ffb1
published: '2025-06-17'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T10:17:08.407'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-4754'
references:
  - url: 'https://cna.erlef.org/cves/CVE-2025-4754.html'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/team-alembic/ash_authentication_phoenix/commit/05ab4f438bf0cd0fdfb279d912bbe0d2c3620e02
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://github.com/team-alembic/ash_authentication_phoenix/pull/634'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-f7gq-h8jv-h3cq
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2025-4754'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
tags:
  - nvd
  - cve.org
epss: 0.005
epssPercentile: 0.41893
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-06-17T14:40:37.216297Z'
cvssSource: cna
ingestedAt: '2026-07-24T15:30:57.747Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
