CVE-2025-25202

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

Configuration 1 (hide)

cpe:2.3:a:alembic:ash_authentication:*:*:*:*:*:*:*:*

History

27 Aug 2025, 13:23

Type Values Removed Values Added
CPE cpe:2.3:a:alembic:ash_authentication:*:*:*:*:*:*:*:*
First Time Alembic
Alembic ash Authentication
References () https://github.com/team-alembic/ash_authentication/commit/2dee55252df26fe3d990ff1199397cdcf1bfea8a - () https://github.com/team-alembic/ash_authentication/commit/2dee55252df26fe3d990ff1199397cdcf1bfea8a - Patch
References () https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-qrm9-f75w-hg4c - () https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-qrm9-f75w-hg4c - Exploit, Patch, Third Party Advisory
Summary
  • (es) Ash Authentication es un framework de autenticación para aplicaciones Elixir. Las aplicaciones que se han iniciado con el instalador de Igniter presente desde AshAuthentication v4.1.0 y que han utilizado la estrategia de enlace mágico _o_ están revocando tokens manualmente se ven afectadas por el hecho de que se permite que los tokens revocados se verifiquen como válidos. A menos que uno haya implementado algún tipo de función de revocación de token personalizada en su aplicación, no se verá afectado. El impacto aquí para los usuarios que utilizan la funcionalidad incorporada es que los tokens de enlace mágico se pueden reutilizar hasta que caduquen. Dicho esto, los tokens de enlace mágico solo son válidos durante 10 minutos, por lo que la superficie de abuso es extremadamente baja aquí. La falla se corrige en la versión 4.4.9. Además, se muestra una advertencia de tiempo de compilación a los usuarios con instrucciones de solución si actualizan. 4.4.9 se envía con un actualizador, por lo que aquellos que usan `mix igniter.upgrade ash_authentication` tendrán el parche necesario aplicado. De lo contrario, uno puede ejecutar el actualizador manualmente como se describe en el mensaje de error. Como workaround, elimine la acción genérica `:revoked?` generada en el recurso de token. Esto hará que utilice la acción interna de Ash Authentication que siempre ha sido correcta. Como alternativa, realice manualmente los cambios que se incluyen en el parche.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

11 Feb 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-11 19:15

Updated : 2025-08-27 13:23


NVD link : CVE-2025-25202

Mitre link : CVE-2025-25202

CVE.ORG link : CVE-2025-25202


JSON object : View

Products Affected

alembic

  • ash_authentication
CWE
CWE-269

Improper Privilege Management