CVE-2024-38371: Insufficient access control for OAuth2 Device Code flow in authentik

Published Jun 28, 2024
·
Updated

authentik is an open-source Identity Provider. Access restrictions assigned to an application were not checked when using the OAuth2 Device code flow. This could potentially allow users without the correct authorization to get OAuth tokens for an application and access it. This issue has been patched in version(s) 2024.6.0, 2024.2.4 and 2024.4.3.

Affected Software

3 affected components
Authentik Authentik<2024.2.4, >=2024.4.3<=2024.6.0
goauthentik Authentik<2024.2.4
goauthentik Authentik>=2024.4.0<2024.4.3

Event History

Jun 28, 2024
CVE Published
via MITRE·05:58 PM
Data Sourced
via MITRE·05:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38371?

CVE-2024-38371 is considered a critical severity vulnerability due to unauthorized access risks through an insecure OAuth2 Device code flow.

2

How do I fix CVE-2024-38371?

To fix CVE-2024-38371, update the authentik software to version 2024.2.4 or later, or to any version in the range from 2024.4.3 to 2024.6.0.

3

What is the impact of CVE-2024-38371?

The impact of CVE-2024-38371 allows unauthorized users to obtain OAuth tokens which can enable access to sensitive applications.

4

Which versions of authentik are affected by CVE-2024-38371?

Versions of authentik affected by CVE-2024-38371 are those prior to 2024.2.4 and the versions from 2024.4.3 up to but not including 2024.6.0.

5

How can I verify if my authentik installation is vulnerable to CVE-2024-38371?

You can verify if your authentik installation is vulnerable to CVE-2024-38371 by checking its version against the affected versions mentioned in the vulnerability details.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203