CVE-2026-82685: Confirmation token accepted on any record in AshAuthentication

Published Sep 17, 2026
·
Updated

Authorization Bypass Through User-Controlled Key vulnerability in team-alembic AshAuthentication allows an authenticated attacker to overwrite and confirm another user's email address, and so take over that account. A confirmation token issued to one user is accepted on any other user's record.

AshAuthentication.AddOn.Confirmation.ConfirmChange verifies the token's signature and its act claim, then applies the changes stored against that token to whichever record the changeset targets, never comparing the sub claim against changeset.data. An attacker who registers an account and changes their own email replays the resulting token against a victim's record id, writing in their own address with forcechangeattributes/2 and stamping confirmedat, after which an ordinary password reset yields the account. The library's own confirmation flow is unaffected, because AshAuthentication.AddOn.Confirmation.Actions.confirm/3 resolves sub to a user and targets that record.

This issue affects ashauthentication: from 0.5.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

Affected Software

1 affected component
ash_authentication>=0.5.0<4.15.0, >5.0.0-rc.0<5.0.0-rc.14

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ash_authentication to a version that resolves this vulnerability.

    Fixed in 4.15.0
  2. Upgrade

    Upgrade ash_authentication to a version that resolves this vulnerability.

    Fixed in 5.0.0-rc.14

Event History

Sep 17, 2026
CVE Published
via MITRE·01:08 PM
Data Sourced
via MITRE·01:08 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are affected?

Affected versions are ash_authentication 0.5.0 through versions before 4.15.0, and 5.0.0-rc.0 through versions before 5.0.0-rc.14. The issue is in AshAuthentication.AddOn.Confirmation.ConfirmChange.

2

What does an attacker need to exploit this?

The attacker must be authenticated and able to register or use their own account, change its email address, and obtain the resulting confirmation token. They then replay that token while targeting another user's record ID, and can use a normal password-reset flow after changing and confirming the victim account's email.

3

Is the standard AshAuthentication confirmation flow vulnerable?

No. The library's AshAuthentication.AddOn.Confirmation.Actions.confirm/3 flow resolves the token's sub claim to a user and targets that user record, so it is not affected by this token-to-record mismatch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203