Vulnerability advisory

CVE-2026-118505

AshAuthentication brute_force_strategy does not limit sign-in and request actions defined on the resource

Published Updated OSV record ↗

Also known as EEF-CVE-2026-118505GHSA-55gf-3263-4r39

Severity
  • CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/team-alembic/ash_authentication ↗
800caa0d4a5bee1f28ad427f4c12fab72003a577 to before 7117b5da5b73ee4cdb372e4adfbaff409b5271257117b5da5b73ee4cdb372e4adfbaff409b527125
e9206126496a5ddff4a6318feb56aa0379080e69 to before d264f101dfd8336e77c29deb0ecc3f14af5348e3d264f101dfd8336e77c29deb0ecc3f14af5348e3
Not specified800caa0d4a5bee1f28ad427f4c12fab72003a577
Also listed as affected (12)
  • v5.0.0-rc.15
  • v5.0.0-rc.14
  • v5.0.0-rc.13
  • v5.0.0-rc.12
  • v5.0.0-rc.11
  • v5.0.0-rc.10
  • 5.0.0-rc.9
  • 5.0.0-rc.8
  • v5.0.0-rc.7
  • v5.0.0-rc.6
  • v5.0.0-rc.5
  • v5.0.0-rc.4

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools