Improper Authorization in authentik - CVE-2024-52287

 

Improper Authorization in authentik - CVE-2024-52287

Published: November 21, 2024 / Updated: April 23, 2026


Vulnerability identifier: #VU127136
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-52287
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Authentik Security Inc
Affected software:
authentik

Detailed vulnerability description

The vulnerability allows a remote user to perform unauthorized actions in another system that trusts tokens signed by authentik.

The vulnerability exists due to improper authorization in OAuth scope validation for the client_credentials and device_code grants when issuing OAuth tokens. A remote privileged user can request or obtain a token with scopes not configured in authentik to perform unauthorized actions in another system that trusts tokens signed by authentik.

Exploitation requires valid OAuth2 client credentials and knowledge of a trusting downstream system and the scopes it checks for.


How to mitigate CVE-2024-52287

Install security update from vendor's website.

Sources