Email Link Auto-Click Account Confirmation Vulnerability in ash_authentication

ash_authentication Updated 02 Oct 2025

Summary

14/04/2025
Yes i
Moderate
5.3

CVE-2025-32782: ash_authentication has email link auto-click account confirmation vulnerability. Affects ash_authentication versions < 4.7.0. Fixed in 4.7.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

ash_authentication is an open-source package used for managing user authentication in Elixir applications. It provides features such as user registration, login, and account confirmation. However, it has a vulnerability in its account confirmation flow, which can be exploited by attackers to confirm accounts using another user's email without their consent.

Vulnerability Detail

The vulnerability arises from the confirmation flow for account creation, which utilizes a GET request triggered by clicking a link sent via email. Some email clients and security tools may automatically follow these links, leading to unintended account confirmation. This allows attackers to register accounts using victims' email addresses, potentially resulting in unauthorized account confirmations. It is important to note that this vulnerability does not allow attackers to access existing accounts or private data, as it is limited to the confirmation of new accounts only.

How To Fix

Latest published version: 5.0.0-rc.15 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.7.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not feasible, users can disable the confirmation routes and create a custom LiveView. This LiveView should perform a POST request to the old confirmation URL instead of a GET request. The token should be passed as a hidden field in a form with a button that submits the form. Here is an example of how to implement this:

<form phx-submit="confirm">
  <input type="hidden" name="token" value="<token_value>" />
  <button type="submit">Confirm Account</button>
</form>

Conclusion

The ash_authentication package has a vulnerability that can lead to unintended account confirmations via email link auto-clicking. Users are strongly advised to upgrade to the latest versions to mitigate this risk. Workarounds are available, but upgrading is the recommended approach.

See every vulnerability recorded for ash_authentication →

Share this vulnerability

FAQ

The vulnerability allows attackers to confirm accounts using another user's email due to automatic link following by email clients.

Versions prior to 4.7.0 of ash_authentication are affected.

You can use Vulert, which monitors open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.

The CVSS score of this vulnerability is 5.3.

No, this vulnerability does not allow attackers to access existing accounts or private data; it is limited to the confirmation of new accounts.

Related vulnerabilities

Recent vulnerabilities recorded for ash_authentication.

How To Fix

Latest published version: 5.0.0-rc.15 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

4.7.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback