ash_authentication is vulnerable to Authentication Bypass
91
CVE Score
Critical
Authentication Bypass
In ash_authentication, require_confirmed_with is not enforced on the action and fails open on an unreadable attribute in AshAuthentication. AshAuthentication.Strategy.Password.Actions.check_user/2 decides whether the attribute named by require_confirmed_with is set using a bare is_nil(Map.get(user, value)). When that attribute is not selected on the loaded record Map.get/2 returns %Ash.NotLoaded{}, and when a field policy denies it for the current actor it returns %Ash.ForbiddenField{}.
Upgrade the ash_authentication library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
4.3.8 - 4.14.2
Fixed in 4.15.0ash_authentication is vulnerable to Authentication Bypass in versions 4.3.8 - 4.14.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.