CVE-2026-118505
AshAuthentication brute_force_strategy does not limit sign-in and request actions defined on the resource
Mitigation
- Upgrade ash_authentication to 5.0.0-rc.16 or later.
- Upgrade ash_authentication to 7117b5da5b73ee4cdb372e4adfbaff409b527125 or later.
- Vendor workaround: Add the brute-force preparation to each protected action defined on the resource, or remove the action so the strategy generates it. For brute_force_strategy {:audit_log, name} that is prepare {AshAuthentication.AddOn.AuditLog.IdentityBruteForcePreparation, action_name: <action>} on the password sign-in, password reset request, magic link request and OTP request actions, and prepare {AshAuthentication.AddOn.AuditLog.BruteForcePreparation, action_name: <action>} on a read OTP sign-in action. For {:preparation, MyModule} it is prepare MyModule. For OTP with registration_enabled? true, switch to brute_force_strategy :rate_limit.
Who should check
- Anyone running team-alembic ash_authentication >= 5.0.0-rc.4, < 5.0.0-rc.16
- Anyone running team-alembic ash_authentication >= 800caa0d4a5bee1f28ad427f4c12fab72003a577, < 7117b5da5b73ee4cdb372e4adfbaff409b527125
Vulnerability facts
- Affected
- team-alembic ash_authentication >= 5.0.0-rc.4, < 5.0.0-rc.16; team-alembic ash_authentication >= 800caa0d4a5bee1f28ad427f4c12fab72003a577, < 7117b5da5b73ee4cdb372e4adfbaff409b527125
- Fixed in
- team-alembic ash_authentication 5.0.0-rc.16, team-alembic ash_authentication 7117b5da5b73ee4cdb372e4adfbaff409b527125
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.69% chance of exploitation in 30 days (percentile 48, 2026-11-26)
- CWE
- CWE-307
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| team-alembic ash_authentication | >= 5.0.0-rc.4, < 5.0.0-rc.16 | — | cvelist |
| team-alembic ash_authentication | >= 800caa0d4a5bee1f28ad427f4c12fab72003a577, < 7117b5da5b73ee4cdb372e4adfbaff409b527125 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-118505. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-118505.md Affected: team-alembic ash_authentication >= 5.0.0-rc.4, < 5.0.0-rc.16; team-alembic ash_authentication >= 800caa0d4a5bee1f28ad427f4c12fab72003a577, < 7117b5da5b73ee4cdb372e4adfbaff409b527125 Fixed in: team-alembic ash_authentication 5.0.0-rc.16, team-alembic ash_authentication 7117b5da5b73ee4cdb372e4adfbaff409b527125 Steps: 1. Search this machine and project for team-alembic ash_authentication: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-118505 being exploited?
There is no confirmed exploitation: CVE-2026-118505 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-118505?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-118505?
team-alembic ash_authentication >= 5.0.0-rc.4, < 5.0.0-rc.16; team-alembic ash_authentication >= 800caa0d4a5bee1f28ad427f4c12fab72003a577, < 7117b5da5b73ee4cdb372e4adfbaff409b527125.
Is there a fix for CVE-2026-118505?
Yes. Fixed in team-alembic ash_authentication 5.0.0-rc.16, team-alembic ash_authentication 7117b5da5b73ee4cdb372e4adfbaff409b527125. Upgrade ash_authentication to 5.0.0-rc.16 or later. Upgrade ash_authentication to 7117b5da5b73ee4cdb372e4adfbaff409b527125 or later. Vendor workaround: Add the brute-force preparation to each protected action defined on the resource, or remove the action so the strategy generates it. For brute_force_strategy {:audit_log, name} that is prepare {AshAuthentication.AddOn.AuditLog.IdentityBruteForcePreparation, action_name: <action>} on the password sign-in, password reset request, magic link request and OTP request actions, and prepare {AshAuthentication.AddOn.AuditLog.BruteForcePreparation, action_name: <action>} on a read OTP sign-in action. For {:preparation, MyModule} it is prepare MyModule. For OTP with registration_enabled? true, switch to brute_force_strategy :rate_limit.
How do I check if I'm affected by CVE-2026-118505?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.