CVE-2026-82759: Vulnerability in AshAuthentication Allows Reversible IP Address Pseudonymisation

ash_authentication Updated 17 Sep 2026

Summary

17/09/2026
Yes i
Low
1.8

CVE-2026-82759: Reversible IP address pseudonymisation in AshAuthentication audit log hash mode. Affects ash_authentication across 4 version ranges.

>= 4.12.0, < 4.15.0 >= 5.0.0-rc.0, < 5.0.0-rc.14 >= 255cfc9c0e511b7e0de39f8b3d676ae994fae06c, < d8a9c4b6bde828fdc8346198d5e4f588b5937541 < c3a6d5fe0d4fd383ea81b0402db0a96638479478

Fixed in 4.15.0 or 5.0.0-rc.14, depending on the release line you run. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

AshAuthentication is an open-source authentication library designed for Elixir applications. It provides various features for managing user authentication, including support for audit logging. The library's audit log add-on includes an IP privacy mode intended to pseudonymise client IP addresses. However, a flaw in its implementation exposes users to potential privacy risks.

Vulnerability Detail

The vulnerability arises from the use of a one-way hash function with a predictable salt in the AshAuthentication library. Specifically, the method AshAuthentication.AddOn.AuditLog.IpPrivacy.hash_ip/1 computes a SHA-256 hash of the client IP address concatenated with a salt. The salt is either read from application configuration or defaults to a hardcoded value, which is insecure. This allows attackers to precompute hash tables for the entire IPv4 address space, making it feasible to reverse-engineer the original IP addresses from the truncated hash values. The issue affects versions 4.12.0 to 4.15.0 and 5.0.0-rc.0 to 5.0.0-rc.14.

How To Fix

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

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

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 4.12.0, < 4.15.0 4.15.0
  • >= 5.0.0-rc.0, < 5.0.0-rc.14 5.0.0-rc.14

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, ensure that you configure a unique and secure salt in your application settings by setting the :audit_log_ip_salt or :secret keys in your configuration. This can help mitigate the risk until you can upgrade to a patched version.

Conclusion

CVE-2026-82759 presents a significant risk to applications using AshAuthentication due to its flawed IP address pseudonymisation method. It is crucial for developers to update to the latest versions to protect user privacy and data integrity.

See every vulnerability recorded for ash_authentication →

Share this vulnerability

FAQ

CVE-2026-82759 is a vulnerability in the AshAuthentication library that allows for the reversible pseudonymisation of client IP addresses due to predictable salt usage in hashing.

The vulnerability affects AshAuthentication versions 4.12.0 to 4.15.0 and 5.0.0-rc.0 to 5.0.0-rc.14.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you cannot upgrade immediately, configure a secure salt in your application settings to mitigate the risk until you can apply the patch.

The CVSS score of this vulnerability is 1.8, indicating a low severity level.

Related vulnerabilities

Recent vulnerabilities recorded for ash_authentication.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

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

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 4.12.0, < 4.15.0 4.15.0
  • >= 5.0.0-rc.0, < 5.0.0-rc.14 5.0.0-rc.14

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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