CVE-2026-78223: Token Revocation Vulnerability in AshAuthentication

ash_authentication Updated 17 Sep 2026

Summary

17/09/2026
Yes i
Medium
6.9

CVE-2026-78223: Token revocation record built from unverified JWT claims in AshAuthentication. Affects ash_authentication across 4 version ranges.

>= 0.2.0, < 4.15.0 >= 5.0.0-rc.0, < 5.0.0-rc.14 >= a939dde9b917c072cdf10c4b0913a9886a4b0231, < 344cebb12faf68e648d3283394073ba0c0f78459 < eb86353fe5a547c5ff5fd9af0e2c212518c31c9b

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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

AshAuthentication is an open-source authentication library designed for Elixir applications, providing a framework for managing user authentication and authorization. It allows developers to implement secure token-based authentication mechanisms. However, certain versions of AshAuthentication are vulnerable to a critical issue that can compromise the integrity of token revocation processes.

Vulnerability Detail

The vulnerability arises from improper verification of cryptographic signatures in the AshAuthentication library. Specifically, the RevokeTokenChange.change/3 function reads the :token argument and decodes it without verifying the signature. This allows an attacker to forge a token, manipulate claims such as exp (expiration time), and create a revocation record that is already expired. As a result, genuine tokens can bypass revocation checks, leading to unauthorized access and potential data breaches. The affected versions are from 0.2.0 before 4.15.0 and from 5.0.0-rc.0 before 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.

  • >= 0.2.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 do not rely on the revocation functionality until you can update to a secure version. Additionally, consider implementing additional checks on the token claims manually to mitigate the risk until the library is updated.

Conclusion

CVE-2026-78223 is a significant vulnerability in the AshAuthentication library that can lead to unauthorized access through forged tokens. It is crucial to update to the latest patched versions to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for ash_authentication →

Share this vulnerability

FAQ

CVE-2026-78223 is a vulnerability in the AshAuthentication library that allows attackers to forge tokens and bypass revocation checks.

The vulnerability affects AshAuthentication versions from 0.2.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

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

The CVSS score for this vulnerability is 6.9, indicating a moderate severity level.

If you cannot update the package, implement additional manual checks on token claims and avoid using the revocation functionality until the update is applied.

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 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.

  • >= 0.2.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