Vulnerability advisory
CVE-2026-86533
Revoked session accepted because the session jti is never checked in AshAuthentication and AshAuthentication Phoenix
Also known as EEF-CVE-2026-86533GHSA-m6x4-4gvp-xwjr
- CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/team-alembic/ash_authentication ↗ | |
| fcaeb73f76f8f2e9aef8bf637690d2a20dd97596 to before a3f49f758f013d2ff086dd9c5ef2d94e921711b4 | a3f49f758f013d2ff086dd9c5ef2d94e921711b4 |
| a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 to before f7ab005a2aac09707a25521653c94893d328cc52 | f7ab005a2aac09707a25521653c94893d328cc52 |
| 0135217e34e621dac79ae3d9559aeee49304b0aa to before f7ab005a2aac09707a25521653c94893d328cc52 | f7ab005a2aac09707a25521653c94893d328cc52 |
| 4f33c727b03a58d29a1d8a0a47d795548da3ab50 to before d6b2be35cf8f0b8ab84e7a934cfb0d91de0a3c17 | d6b2be35cf8f0b8ab84e7a934cfb0d91de0a3c17 |
| 6767fe27eb952e5bc09aa2e5a7d8f96f5a1c424a to before fea75958a081ed337ceb578396174039694c48df | fea75958a081ed337ceb578396174039694c48df |
| Not specified | fcaeb73f76f8f2e9aef8bf637690d2a20dd97596 |
| Not specified | e28e911caa9728d76329afdb0fb26742ffe4eeef |
| GIT github.com/team-alembic/ash_authentication_phoenix ↗ | |
| f01a9164b2baa707d04ceb7b68f43a1cdc876960 to before ada68111380b56cacd018ad199e7965328160a24 | ada68111380b56cacd018ad199e7965328160a24 |
| 5e08034cab9e1f0306a5576c74566f1e462a462f to before 97cd7870a6c72ac222f78165667f6c4300a12992 | 97cd7870a6c72ac222f78165667f6c4300a12992 |
| Not specified | a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 |
| Not specified | 0135217e34e621dac79ae3d9559aeee49304b0aa |
| Not specified | f7ab005a2aac09707a25521653c94893d328cc52 |
Also listed as affected (67)
| |
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.
References
- Webcna.erlef.org/cves/CVE-2026-86533.html ↗
- Webgithub.com ↗
- Webosv.dev/vulnerability/EEF-CVE-2026-86533 ↗
- Webrepo.hex.pm ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86533.json ↗
- Advisorygithub.com/team-alembic/ash_authentication/security/advisories/GHSA-w374-hvrx-66hg ↗
- Advisorygithub.com/team-alembic/ash_authentication_phoenix/security/advisories/GHSA-m6x4-4gvp-xwjr ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-86533 ↗
- Fixgithub.com/team-alembic/ash_authentication/commit/a3f49f758f013d2ff086dd9c5ef2d94e921711b4 ↗
- Fixgithub.com/team-alembic/ash_authentication/commit/e28e911caa9728d76329afdb0fb26742ffe4eeef ↗
- Fixgithub.com/team-alembic/ash_authentication/commit/fcaeb73f76f8f2e9aef8bf637690d2a20dd97596 ↗
- Fixgithub.com/team-alembic/ash_authentication_phoenix/commit/0135217e34e621dac79ae3d9559aeee49304b0aa ↗
- Fixgithub.com/team-alembic/ash_authentication_phoenix/commit/a3253fb4fc7145aeb403537af1c24d3a8d51ffb1 ↗
- Fixgithub.com/team-alembic/ash_authentication_phoenix/commit/f7ab005a2aac09707a25521653c94893d328cc52 ↗
- Packagegithub.com/team-alembic/ash_authentication ↗
- Packagegithub.com/team-alembic/ash_authentication_phoenix ↗