AshAuthentication log_out_everywhere leaves sessions valid after a password reset or non-atomic password change

State
Published
Severity
6.3 Medium
Published
Nov 3, 2026
Updated
Nov 20, 2026
Reserved
Nov 3, 2026

Read the record on cve.org

Description

Improper Session Invalidation after Authentication Credential Change vulnerability in team-alembic ash_authentication allows an attacker holding a victim's session token to stay signed in after the victim resets or changes their password.

With apply_on_password_change? true, AshAuthentication.AddOn.LogOutEverywhere.Transformer adds OnPasswordChange to update actions as a global change guarded by where: changing(hashed_password). That condition is evaluated before the action's before_action hooks run, but AshAuthentication.Strategy.Password.HashPasswordChange sets the new hash in a before_action hook, so for every non-atomic password change the condition is false and the user's stored tokens are not revoked. The generated password reset action and the installer's change_password action are both non-atomic.

This issue affects ash_authentication: from 4.5.0 before 4.15.1 and from 5.0.0-rc.0 before 5.0.0-rc.16.

ProductVersions
ash_authentication team-alembic4.5.0 to before 4.15.1 Affected5.0.0-rc.0 to before 5.0.0-rc.16 Affected
ash_authentication team-alembic0993f944fbd8d668f941d2ca818da4a1d5917641 and later Affectedfrom 2baef4eddeb604569d3564273d03eeef438e002c Not Affectedfrom 954697f168d55112b5050acddcd936b8bc1fba2b Not Affected

Weaknesses

  • CWE-1466 Improper Session Invalidation after Authentication Credential Change

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.