{"id":"CVE-2024-38371","aliases":["BIT-authentik-2024-38371","EUVD-2024-37284","GHSA-jq3m-37m7-gp45"],"status":"published","title":"Insufficient access control for OAuth2 Device Code flow in authentik","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.","severity":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.0058,"percentile":0.48147,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-284","CWE-285"],"published":"2024-06-28T17:58:48Z","modified":"2026-10-28T02:31:00Z","fixes":[{"ecosystem":"Bitnami","package":"authentik","fixed_in":["2024.6.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"authentik","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2024.6.0"}]}]}],"products":[{"vendor":"goauthentik","product":"authentik"}],"references":[{"url":"https://github.com/goauthentik/authentik/security/advisories/GHSA-jq3m-37m7-gp45","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Vendor Advisory","advisory"]},{"url":"https://github.com/goauthentik/authentik/releases/tag/version%2F2024.2.4","tags":["x_refsource_MISC","x_transferred","Release Notes","article","web"]},{"url":"https://github.com/goauthentik/authentik/releases/tag/version%2F2024.4.3","tags":["x_refsource_MISC","x_transferred","Release Notes","article","web"]},{"url":"https://github.com/goauthentik/authentik/releases/tag/version%2F2024.6.0","tags":["x_refsource_MISC","x_transferred","Release Notes","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38371","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38371.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-38371","title":"Insufficient access control for OAuth2 Device Code flow in authentik","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.","status":"published","published":"2024-06-28T17:58:48.169Z","modified":"2024-08-02T04:04:25.257Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-284","CWE-285"],"updated_at":"2026-11-02T14:34:16.367792Z"}],"euvd":[{"id":"EUVD-2024-37284","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.","status":"published","published":"2024-06-28T17:58:48Z","modified":"2024-08-02T04:04:25Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-03T03:50:18.901913Z"}],"nvd":[{"id":"CVE-2024-38371","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.","status":"published","published":"2024-06-28T18:15:04.647Z","modified":"2026-06-17T07:40:00.747Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-284","CWE-285"],"updated_at":"2026-11-02T14:10:09.388795Z"}],"osv":[{"id":"CVE-2024-38371","title":"Insufficient access control for OAuth2 Device Code flow in authentik","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.","status":"published","published":"2024-06-28T17:58:48.169Z","modified":"2026-10-28T02:31:00.912366004Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-284","CWE-285"],"updated_at":"2026-11-02T15:44:41.133403Z"},{"id":"BIT-authentik-2024-38371","title":"Insufficient access control for OAuth2 Device Code flow in authentik","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.","status":"published","published":"2026-04-16T23:36:15.228Z","modified":"2026-09-08T08:45:50.912928023Z","updated_at":"2026-11-02T15:28:28.70813Z"}]}}
