# CVE-2025-25202: Ash Authentication has flawed token revocation checking logic in actions generated by `mix ash_authentication.install`

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-11T18:12:33.000Z
- Modified: 2026-06-17T09:00:28.540Z
- Also known as: GHSA-qrm9-f75w-hg4c
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- team-alembic ash_authentication: >= 4.1.0, < 4.4.9
- ash_authentication (Hex): from 4.1.0 before 4.4.9
- alembic ash_authentication: from 4.1.0 before 4.4.9

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-qrm9-f75w-hg4c> (exploit, patch, third-party-advisory, web)
- <https://github.com/team-alembic/ash_authentication/commit/2dee55252df26fe3d990ff1199397cdcf1bfea8a> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25202> (advisory)
- <https://github.com/team-alembic/ash_authentication> (package)

## Sources

- CVE List: [CVE-2025-25202](https://www.cve.org/CVERecord?id=CVE-2025-25202), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-qrm9-f75w-hg4c](https://github.com/advisories/GHSA-qrm9-f75w-hg4c), CC-BY-4.0, modified 2025-12-10
- NVD: [CVE-2025-25202](https://nvd.nist.gov/vuln/detail/CVE-2025-25202), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-25202 · Whole record: https://cve.day/CVE-2025-25202.json · Rebuilt by cve.day 2026-11-25T22:58:54.010Z
