SEVERITY NOT PROVIDED · CVSS 4.0 EPSS 0.7% · 50th percentile CWE-1466

CVE-2026-110826: AshAuthentication log_out_everywhere leaves sessions valid after a password reset or non-atomic password change

Published 2026-11-03 · Updated 2026-11-25 · Also known as EEF-CVE-2026-110826, GHSA-j6f8-qcj9-gh4r

Summary

An improper session invalidation vulnerability in AshAuthentication allows an attacker holding a session token to remain signed in after a user resets or changes their password. Engineering teams using ash_authentication should update to the patched versions immediately.

Who is affected

Affected deployments utilize ash_authentication versions 4.5.0 through 4.15.0 or 5.0.0-rc.0 through 5.0.0-rc.15 with the `log_out_everywhere` add-on configured with `apply_on_password_change? true`. The flaw requires non-atomic password changes, such as the generated password reset action or installer change_password action, where the condition evaluating hashed password changes executes before before_action hooks run. Consequently, existing session tokens are not revoked, permitting attackers already holding a victim's token to retain access.

Exploitability

The vulnerability is network-accessible with low attack complexity, though it requires a partial privilege condition and assumes the attacker already holds one of the victim's session tokens. The current EPSS score is 0.005 (percentile 0.421), and it is not listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Hex ash_authentication >= 4.5.0, < 4.15.1 4.15.1 mix deps.update ash_authentication
Hex ash_authentication >= 5.0.0-rc.0, < 5.0.0-rc.16 5.0.0-rc.16 mix deps.update ash_authentication

CVSS 4.0 vector

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

Attack vectorNetwork
Attack complexityLow
Attack requirementsPresent
Privileges requiredNone
User interactionNone
Confidentiality (vulnerable system)Low
Integrity (vulnerable system)Low
Availability (vulnerable system)None
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

What causes the session to remain valid after a password change?

The condition checking for password changes is evaluated before before_action hooks run, but the hash update occurs within a before_action hook during non-atomic changes, causing the token revocation logic to be skipped.

Which versions of ash_authentication are affected?

Versions introduced from 4.5.0 before 4.15.1 and from 5.0.0-rc.0 before 5.0.0-rc.16 are affected.

Is active exploitation documented for this vulnerability?

No, CISA Known Exploited Vulnerabilities status is no.

Original advisory description
## Summary 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. ## Configurations The `log_out_everywhere` add-on sets `apply_on_password_change? true`, as `mix ash_authentication.install` writes, and the password is changed through a non-atomic update action, which includes the generated password reset action and the installer's `change_password` action. The attacker must already hold one of the victim's session tokens.

References

Source records: EEF-CVE-2026-110826 (OSV.dev) · EPSS by FIRST, 2026-11-26.