# CVE-2026-118505: AshAuthentication brute\_force\_strategy does not limit sign-in and request actions defined on the resource

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.69% (percentile 48, 2026-11-28)
- **CWE:** CWE-307
- **Published:** 2026-11-03T15:47:36.067Z
- **Modified:** 2026-11-19T07:56:45.329Z

## 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

## 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

- team-alembic ash\_authentication: \>= 5.0.0-rc.4, \< 5.0.0-rc.16 (cvelist)
- team-alembic ash\_authentication: \>= 800caa0d4a5bee1f28ad427f4c12fab72003a577, \< 7117b5da5b73ee4cdb372e4adfbaff409b527125 (cvelist)

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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

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

## References

- vendor: <https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-55gf-3263-4r39>
- patch: <https://github.com/team-alembic/ash_authentication/commit/800caa0d4a5bee1f28ad427f4c12fab72003a577>
- patch: <https://github.com/team-alembic/ash_authentication/commit/7117b5da5b73ee4cdb372e4adfbaff409b527125>
- other: <https://cna.erlef.org/cves/CVE-2026-118505.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-118505>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-118505>

HTML: <https://flawdb.com/CVE-2026-118505> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-118505>
