Intel

AIKIDO-2026-665381

ash_authentication is vulnerable to Insufficient Session Expiration

CVE-2026-81637Published Oct 13, 2026
October 13, 2026

23

CVE Score

Low

Insufficient Session Expiration

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.

How do I fix this?

Upgrade the ash_authentication library to the patch version.

Who does this affect?

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

Versions

0.6.0 - 4.14.2

Fixed in 4.15.0

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea