Skip to content

CVE-2026-86533 Revoked session accepted because the session jti is never checked in AshAuthentication and AshAuthentication Phoenix

CriticalCVSS 9.1 EPSS 0.91%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

Insufficient Session Expiration vulnerability in team-alembic AshAuthentication and AshAuthentication Phoenix allows a revoked session to remain fully authenticated.

A resource configured with session_identifier :jti and require_token_presence_for_authentication? disabled stores its session value as <jti>:<subject>. The jti is there so that signing out can revoke that one session. Neither reader consults it: AshAuthentication.Plug.Helpers.authenticate_resource_from_session/4 and AshAuthentication.Phoenix.LiveSession.on_mount/4 both split the value with split_identifier/2, discard the jti and pass the bare subject to AshAuthentication.subject_to_user/3, which reloads the record. The token-presence branch of each function does check its token, calling AshAuthentication.TokenResource.Actions.get_token/3 with the jti and the purpose user. Because the revocation record is never read, neither its revoked state nor its expiry constrains the session, so a session captured before sign-out keeps working.

This issue affects ash_authentication: from 4.9.1 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14; ash_authentication_phoenix: from 2.10.0 before 2.17.4 and from 3.0.0-rc.0 before 3.0.0-rc.11.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
team-alembic ash authentication >= 4.9.1, < 4.15.0; >= 5.0.0-rc.0, < 5.0.0-rc.14; >= fcaeb73f76f8f2e9aef8bf637690d2a20dd97596, < a3f49f758f013d2ff086dd9c5ef2d94e921711b4 4.15.0, 5.0.0-rc.14, a3f49f758f013d2ff086dd9c5ef2d94e921711b4 Fixed
team-alembic ash authentication phoenix >= 0135217e34e621dac79ae3d9559aeee49304b0aa, < 0135217e34e621dac79ae3d9559aeee49304b0aa; >= 2.10.0, < 2.17.4; >= 3.0.0-rc.0, < 3.0.0-rc.11; >= a3253fb4fc7145aeb403537af1c24d3a8d51ffb1, < 0135217e34e621dac79ae3d9559aeee49304b0aa 2.17.4, 3.0.0-rc.11, 0135217e34e621dac79ae3d9559aeee49304b0aa Fixed

Affected products

ProductAffected versionsFixed in
team-alembic ash authentication >= 4.9.1, < 4.15.0 4.15.0
team-alembic ash authentication >= 5.0.0-rc.0, < 5.0.0-rc.14 5.0.0-rc.14
team-alembic ash authentication >= fcaeb73f76f8f2e9aef8bf637690d2a20dd97596, < a3f49f758f013d2ff086dd9c5ef2d94e921711b4 a3f49f758f013d2ff086dd9c5ef2d94e921711b4
team-alembic ash authentication phoenix >= 2.10.0, < 2.17.4 2.17.4
team-alembic ash authentication phoenix >= 3.0.0-rc.0, < 3.0.0-rc.11 3.0.0-rc.11
team-alembic ash authentication phoenix >= 0135217e34e621dac79ae3d9559aeee49304b0aa, < 0135217e34e621dac79ae3d9559aeee49304b0aa 0135217e34e621dac79ae3d9559aeee49304b0aa
team-alembic ash authentication phoenix >= a3253fb4fc7145aeb403537af1c24d3a8d51ffb1, < 0135217e34e621dac79ae3d9559aeee49304b0aa 0135217e34e621dac79ae3d9559aeee49304b0aa

References