Incorrect authorization in authentik - CVE-2024-37905

 

Incorrect authorization in authentik - CVE-2024-37905

Published: June 26, 2024 / Updated: April 23, 2026


Vulnerability identifier: #VU127140
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-37905
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to escalate privileges to superuser.

The vulnerability exists due to incorrect authorization in the API token management endpoint when handling token modification requests. A remote user can create an API token and change the user the token belongs to to escalate privileges to superuser.

The modified token inherits the API access of the higher-privileged user, which can enable password changes for that user or malicious configuration changes.


Affected software

authentik

How to mitigate CVE-2024-37905

Install security update from vendor's website.

authentik - addressed in versions 2024.2.4, 2024.4.3, 2024.6.0

External References

Related Security Bulletins