CVE-2026-82761: Magic link single-use tokens replayable via TOCTOU race in AshAuthentication
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.56% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: team-alembic ash_authentication 18dfdb36c14aa6a61df8572bce2d5ec36b1d9840, 4.15.0, 5.0.0-rc.14.
Low priority for now. Upgrade to team-alembic ash_authentication 18dfdb36c14aa6a61df8572bce2d5ec36b1d9840, 4.15.0, 5.0.0-rc.14 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 17, 2026
- Updated
- Sep 18, 2026
- EPSS
- 0.5% · 47th percentile
- CWE
- CWE-367
Report tools
Action score
36
Low priority for now.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · EEF
- 9.1
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (EEF). Independent of NVD's CPE analysis and usually ahead of it.
team-alembic ash_authentication
- 3.9.0 and later · before 4.15.0affected · semver
- 5.0.0-rc.0 and later · before 5.0.0-rc.14affected · semver
- cf3d227ef25912cf1b0c5fa80f20001f5c46a102 and lateraffected · gitfixed in 18dfdb36c14aa6a61df8572bce2d5ec36b1d9840, 9ef6864b8833d3b795427a7b8dc518a4997d41ab
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Hex | ash_authentication | from 3.9.0 · before 4.15.0 | 4.15.0 |
| Hex | ash_authentication | from 5.0.0-rc.0 · before 5.0.0-rc.14 | 5.0.0-rc.14 |
Same product
team-alembic: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-76949Remember-me sign-in guard reads a session key that is never written in ash_authentication, allowing session replacement36Monitor
- CVE-2026-91039dynamic_oidc identities are not namespaced by connection in ash_authentication, allowing cross-connection account takeover36Monitor
- CVE-2026-88952OAuth2 sign-in attached to an existing account without an email comparison in AshAuthentication36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-82759Sep 17, 2026 · Reversible IP address pseudonymisation in AshAuthentication audit log hash mode7Monitor
- ← EarlierCVE-2026-82760Sep 17, 2026 · Superlinear base62 decoding exhausts CPU and memory in AshAuthentication API key sign-in32Monitor
- Later →CVE-2026-85500Sep 17, 2026 · `require_confirmed_with` is not enforced on the action and fails open on an unreadable attribute in AshAuthentication36Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| team-alembic ash_authentication | 18dfdb36c14aa6a61df8572bce2d5ec36b1d9840 | Vendor (CNA) |
| team-alembic ash_authentication | 4.15.0 | Vendor (CNA) |
| team-alembic ash_authentication | 5.0.0-rc.14 | Vendor (CNA) |
| team-alembic ash_authentication | 9ef6864b8833d3b795427a7b8dc518a4997d41ab | Vendor (CNA) |
| Hex:ash_authentication | 4.15.0 | Package registry (OSV) |
| Hex:ash_authentication | 5.0.0-rc.14 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- James Hartonremediation developer
- Peter Ullrichreporter
- Jonatan Männchen / EEFanalyst
Not on record for this CVE: variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race ConditionCVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- github.com/team-alembic/ash_authentication/commit/18dfdb36c14aa6a61df8572bce2d5ec36b1d9840
- github.com/team-alembic/ash_authentication/commit/9ef6864b8833d3b795427a7b8dc518a4997d41ab
- github.com/team-alembic/ash_authentication/commit/cf3d227ef25912cf1b0c5fa80f20001f5c46a102
- github.com/team-alembic/ash_authentication/security/advisories/GHSA-23gr-vcp4-r27q
- osv.dev/vulnerability/EEF-CVE-2026-82761
Vendor advisories and official records. Exploit/PoC links are deliberately left out.