CVE-2026-81637
Last modified
CVE-2026-81637 is a low-severity vulnerability rated 2.3/10 on the CVSS scale. Insufficient Session Expiration vulnerability in team-alembic AshAuthentication allows an attacker who obtains a victim's OAuth2 state value to replay the callback and sign that victim into an attacker-controlled account. 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). Elixir evaluates the else block in the scope enclosing the with, so every failure path (the provider returning ?error=access_denied, an invalid code, a token-exchange error, or a registration or sign-in failure) reaches store_authentication_result/2 holding the original connection and the session entry is never removed.
Description
Insufficient Session Expiration vulnerability in team-alembic AshAuthentication allows an attacker who obtains a victim's OAuth2 state value to replay the callback and sign that victim into an attacker-controlled account. 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). Elixir evaluates the else block in the scope enclosing the with, so every failure path (the provider returning ?error=access_denied, an invalid code, a token-exchange error, or a registration or sign-in failure) reaches store_authentication_result/2 holding the original connection and the session entry is never removed. 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. This issue affects ash_authentication: from 0.6.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| team-alembic | ash_authentication | >= 0.6.0, < 4.15.0; >= 5.0.0-rc.0, < 5.0.0-rc.14 |
| team-alembic | ash_authentication | >= c5f589058e04239263f50a1430eb17ea6d5dd1a2, < * |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-81637?
How severe is CVE-2026-81637?
How do I fix CVE-2026-81637?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8163The Infility Global WordPress plugin before 2.15.19 does not…8.8
- CVE-2026-81632Use of HTTP Request With Sensitive Query String vulnerabilit…7.2
- CVE-2026-81633Improper Input Validation vulnerability in ash-project ash_g…6.9
- CVE-2026-81634In NLnet Labs Unbound up to and including 1.26.0, a 255 leng…7.5
- CVE-2026-81635A cross-site scripting vulnerability exists in SHIRASAGI, wh…5.1
- CVE-2026-81636Allocation of Resources Without Limits or Throttling vulnera…8.7
- CVE-2026-81638Improper Handling of Alternate Encoding vulnerability in ash…2.1
- CVE-2026-8164Uncontrolled Search Path Element vulnerability in ArkSigner …7.3
- CVE-2026-81640An attacker could derive the camera's Wi-Fi password and con…8.8
- CVE-2026-81642In NLnet Labs Unbound up to and including 1.26.0, a vulnerab…9.8
- CVE-2026-81643Incorrect Authorization vulnerability in ash-project ash_gra…2.3
- CVE-2026-81644DoS vulnerability in the preview service module. Impact: Suc…4.3
Are you affected by CVE-2026-81637?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
