CVE-2025-25202
published medium CVSS 4.0 · 6.3Ash Authentication has flawed token revocation checking logic in actions generated by `mix ash_authentication.install`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| team-alembic | — | ash_authentication>= 4.1.0, < 4.4.9 | Affected | Not stated | GitHub_M |
Description
Ash Authentication is an authentication framework for Elixir applications. Applications which have been bootstrapped by the igniter installer present since AshAuthentication v4.1.0 and who have used the magic link strategy _or_ are manually revoking tokens are affected by revoked tokens being allowed to verify as valid. Unless one hase implemented any kind of custom token revocation feature in your application, then one will not be affected. The impact here for users using builtin functionality is that magic link tokens are reusable until they expire. With that said, magic link tokens are only valid for 10 minutes, so the surface area for abuse is extremely low here. The flaw is patched in version 4.4.9. Additionally a compile time warning is shown to users with remediation instructions if they upgrade. 4.4.9 ships with an upgrader, so those who use `mix igniter.upgrade ash_authentication` will have the necessary patch applied. Otherwise, one may run the upgrader manually as described in the error message. As a workaround, delete the generated `:revoked?` generic action in the token resource. This will cause it to use the one internal to Ash Authentication which has always been correct. Alternatively, manually make the changes that are included in the patch.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| team-alembic | ash_authentication | >= 4.1.0, < 4.4.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-269 CWE-269: Improper Privilege Management
References
2Provider assertions
2GitHub_M · cna
Ash Authentication has flawed token revocation checking logic in actions generated by `mix ash_authentication.install`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 144351b82bcb078d866ffa7c0d530a606025f2ae0d203c5d6aa8cec7e3b51e23
- Ingested
- 23 Sep 2026, 08:41:57 UTC
- Source record
- Official CVE record