AshAuthentication brute_force_strategy does not limit sign-in and request actions defined on the resource
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 19, 2026
- Reserved
- Oct 29, 2026
Description
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.
| Product | Versions |
|---|---|
| ash_authentication team-alembic | 5.0.0-rc.4 to before 5.0.0-rc.16 Affected |
| ash_authentication team-alembic | 800caa0d4a5bee1f28ad427f4c12fab72003a577 to before 7117b5da5b73ee4cdb372e4adfbaff409b527125 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | EEF |
Weaknesses
- CWE-307 Improper Restriction of Excessive Authentication Attempts
References
- `brute_force_strategy` in AshAuthentication does not protect sign-in and request actions defined on the resource, allowing unlimited password and one-time password guessingVendor AdvisoryRelated
- EEF CNA record for CVE-2026-118505Related
- OSV record EEF-CVE-2026-118505Related
- Introducing commit 800caa0 in team-alembic/ash_authenticationRelated
- Fix commit 7117b5d in team-alembic/ash_authenticationPatch
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.