CVE Catalog

CVE-2026-118505

MediumCVSS 6.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.58%

48th percentile - higher than 48% of all known CVEs

Summary

The ash_authentication library (team-alembic project) contains an improper restriction of excessive authentication attempts vulnerability, allowing an unauthenticated attacker to guess passwords and one-time passwords without limit. The password, magic link and OTP strategies add brute_force_strategy preparation only to the actions they generate, so when a resource defines its own action the limit is not applied; additionally, with registration_enabled? true the OTP sign-in is a create action on which preparations do not run. The issue affects versions from 5.0.0-rc.4 before 5.0.0-rc.16.

Risk Assessment

An attacker can conduct brute-force attacks against passwords and one-time codes without limits, increasing the risk of account takeover. This affects applications using ash_authentication within the vulnerable version range.

Recommendation

Update ash_authentication to version 5.0.0-rc.16 or later. Verify that custom resource actions include the brute_force_strategy preparation, and consider additional login attempt throttling mechanisms.

Other vulnerabilities in ash_authentication

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS