Improper Authentication Affecting github.com/ory/kratos/identity package, versions <1.3.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMORYKRATOSIDENTITY-14222195
  • published8 Dec 2025
  • disclosed26 Sept 2024
  • creditUnknown

Introduced: 26 Sep 2024

CVE-2024-45042  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade github.com/ory/kratos/identity to version 1.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authentication due to the improper handling of the required_aal setting in the authentication process. An attacker can bypass multi-factor authentication requirements by exploiting the incorrect storage of available_aal values in the database.

##Workaround This vulnerability can be mitigated by disabling the passwordless code login method or by verifying the session's aal to determine if the user has aal1 or aal2.

CVSS Base Scores

version 4.0
version 3.1