CVE-2026-118505 brute_force_strategy de AshAuthentication no limita acciones de inicio de sesión definidas en el recurso
Vulnerabilidad de restricción inadecuada de intentos de autenticación excesivos en team-alembic ash_authentication: permite a un atacante no autenticado adivinar contraseñas y contraseñas de un solo uso sin límite. Las estrategias de contraseña, magic link y OTP aplican brute_force_strategy agregando una preparación solo a las acciones que generan; si el recurso define esas acciones por su cuenta, la estrategia las usa tal cual y el límite no se aplica. Los generadores producen exactamente esto: mix…
CVSS 4.0
- Probabilidad de explotación · EPSS del 09/110,6 % · percentil 47
- Explotada activamenteNo confirmada
- Exploit públicoNo conocido
Afectados
team-alembic ash_authentication
desde 5.0.0-rc.4 hasta antes de 5.0.0-rc.16
team-alembic ash_authentication
desde 800caa0d4a5bee1f28ad427f4c12fab72003a577 hasta antes de 7117b5da5b73ee4cdb372e4adfbaff409b527125
Qué hacer
- Verificá si usás ash_authentication y en qué versión.
- Actualizá a la versión corregida que indique el fabricante en su aviso o aplicá su mitigación.
- Revisá registros y accesos de los sistemas expuestos para descartar un uso previo.
Calculadora CVSS
CVSS 4.0 · 6.3 MEDIA
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- Vector de ataqueRed
- Complejidad del ataqueBaja
- Requisitos del ataquePresentes
- Privilegios requeridosNinguno
- Interacción del usuarioNinguna
- Confidencialidad (sistema vulnerable)Baja
- Integridad (sistema vulnerable)Baja
- Disponibilidad (sistema vulnerable)Ninguna
- Confidencialidad (sistemas posteriores)Ninguna
- Integridad (sistemas posteriores)Ninguna
- Disponibilidad (sistemas posteriores)Ninguna
Descripción original
Improper Restriction of Excessive Authentication Attempts vulnerability in team-alembic ash_authentication allows an unauthenticated attacker to guess passwords and one-time passwords without limit.
The password, magic link and OTP strategies enforce brute_force_strategy by adding a preparation only to the actions they generate. When the resource defines one of those actions itself, the strategy uses it as written and nothing checked that it carried the preparation, so the setting compiled and applied no limit. The generators produce exactly this: mix ash_authentication.install writes sign_in_with_password, request_password_reset_token and request_magic_link, mix ash_authentication.upgrade then adds brute_force_strategy to those strategies, and mix ash_authentication.add_strategy.otp writes its OTP actions without the preparation. Separately, with registration_enabled? true the OTP sign-in is a create action, which preparations do not run on, so brute_force_strategy {:preparation, module} never applied to it.
This issue affects ash_authentication: from 5.0.0-rc.4 before 5.0.0-rc.16.
Referencias (5)
- github.com/team-alembic/ash_authentication/security/advisories/GHSA-55gf-3263-4r39
- cna.erlef.org/cves/CVE-2026-118505.html
- osv.dev/vulnerability/EEF-CVE-2026-118505
- github.com/team-alembic/ash_authentication/commit/800caa0d4a5bee1f28ad427f4c12fab72003a577
- github.com/team-alembic/ash_authentication/commit/7117b5da5b73ee4cdb372e4adfbaff409b527125
Resumen traducido automáticamente de la descripción original. Fuente: Nureq Monitor. Cómo funciona.