Vulnerability EEF-CVE-2026-82761

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
2 months ago
September 17, 2026 at 01:09 PM UTC
Magic link single-use tokens replayable via TOCTOU race in AshAuthentication
3.9.0 - 4.0.0-rc.0 and 4.0.0-rc.1 and 4.0.0-rc.2 and 4.0.0-rc.3 and 4.0.0-rc.5 and 4.0.0-rc.6 and 4.0.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13
3.9.0 - 4.0.0-rc.0 and 4.0.0-rc.1 and 4.0.0-rc.2 and 4.0.0-rc.3 and 4.0.0-rc.5 and 4.0.0-rc.6 and 4.0.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13

Summary

Magic link single-use tokens replayable via TOCTOU race in AshAuthentication

Details

Summary

Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in team-alembic AshAuthentication allows an attacker holding a leaked magic link to replay its single-use token and authenticate as the target subject. A magic link configured with single_use_token?, which is the default, is meant to be redeemable exactly once, but nothing serialises the token's validity check against its consumption, so concurrent redemptions of one token all succeed and each yields a full user token.

Sign-in verifies the JWT with Jwt.verify/4 and revokes it only afterwards: AshAuthentication.Strategy.MagicLink.SignInPreparation revokes in a Query.after_action callback, and AshAuthentication.Strategy.MagicLink.SignInChange in an after_transaction hook that runs once the sign-in has already committed. AshAuthentication.TokenResource.Actions.revoke/3 writes the revocation as an upsert, so a concurrent duplicate revocation silently succeeds instead of conflicting and no request ever loses the race.

This issue affects ash_authentication: from 3.9.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

Related Vulnerabilities

Other vulnerabilities affecting the same packages

Unknown
18 days ago
AshAuthentication log_out_everywhere leaves sessions valid after a password reset or non-atomic password change
4.5.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-110826
4.5.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-110826
Unknown
18 days ago
AshAuthentication brute_force_strategy does not limit sign-in and request actions defined on the resource
5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-118505
5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-118505
Unknown
18 days ago
AshAuthentication TOTP setup lets a user install their own authenticator secret on another user's account
5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-119215
5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-119215
Unknown
2 months ago
Session id is not renewed on authentication in ash_authentication, allowing session fixation
3.0.3 - 3.3.1 and 3.5.0 - 3.7.6 and 3.7.8 - 4.0.0-rc.0 and 4.0.0-rc.1 and 4.0.0-rc.2 and 4.0.0-rc.3 and 4.0.0-rc.5 and 4.0.0-rc.6 and 4.0.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 EEF-CVE-2026-86688
3.0.3 - 3.3.1 and 3.5.0 - 3.7.6 and 3.7.8 - 4.0.0-rc.0 and 4.0.0-rc.1 and 4.0.0-rc.2 and 4.0.0-rc.3 and 4.0.0-rc.5 and 4.0.0-rc.6 and 4.0.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 EEF-CVE-2026-86688
Unknown
2 months ago
Remember-me sign-in guard reads a session key that is never written in ash_authentication, allowing session replacement
4.10.0 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 EEF-CVE-2026-76949
4.10.0 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 EEF-CVE-2026-76949
View all vulnerabilities for these packages

Impacted packages

Timeline

Published
2 months ago
September 17, 2026 at 01:09 PM UTC
Fixed (5.0.0-rc.14)
2 months ago
September 17, 2026 at 12:03 AM UTC
Fixed (4.15.0)
2 months ago
September 17, 2026 at 12:14 AM UTC
Last Modified
20 hours ago
November 21, 2026 at 05:23 PM UTC