Intel

AIKIDO-2026-665381

ash_authentication is vulnerable to Insufficient Session Expiration

Insufficient Session ExpirationCVE-2026-81637 Published Yesterday

23

Low Risk

This Affects:

ELIXIRash_authentication
0.6.0 - 4.14.2
Fixed in 4.15.0
Are you affected? Scan for Free

TL;DR

In ash_authentication, replayable OAuth2 CSRF state retained after a failed callback in AshAuthentication. AshAuthentication.Strategy.OAuth2.Plug.callback/2 clears the stored session_params through a rebinding step inside its with chain, conn - delete_session(conn, session_key). The value the module's own comment describes as protection against a CSRF-related attack is therefore consumed only when authentication succeeds, and survives a cancelled or failed attempt until the next request phase or session expiry.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

ash_authentication is vulnerable to Insufficient Session Expiration in versions 0.6.0 - 4.14.2.

How to fix this

Upgrade the ash_authentication library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform