CVE-2024-38371: Insufficient access control for OAuth2 Device Code flow in authentik
Vulnerability summary
CVE-2024-38371 is a critical (CVSS 9.8) Improper Access Control vulnerability in goauthentik authentik. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 47.7% of scored vulnerabilities.
Severe, CVSS 8.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 28-06-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:LDiffers
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.58% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-284Improper Access ControlThe product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
- CWE-285Improper AuthorizationThe product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Goauthentik1 product
- authentik< 2024.6.0 | < 2024.4.3 | < 2024.2.4 | ≥ 2024.4.0, < 2024.4.3
1 vendor · 1 product
References
4 links- github.com/goauthentik/authentik/security/advisories/GHSA-jq3m-37m7-gp45X Refsource CONFIRMMitigationVendor Advisory