Improper Authentication in authentik - CVE-2024-47070

 

Improper Authentication in authentik - CVE-2024-47070

Published: September 27, 2024 / Updated: April 23, 2026


Vulnerability identifier: #VU127137
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-47070
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication and authorize as any account with a known login or email address.

The vulnerability exists due to improper authentication in authentication and authorization flows when processing an X-Forwarded-For header with an unparsable IP address. A remote attacker can send a specially crafted request with a malformed X-Forwarded-For header to bypass authentication and authorize as any account with a known login or email address.

Exploitation is possible when the X-Forwarded-For header is not correctly controlled and policies are bound to authentication or authorization flows.


Affected software

authentik

How to mitigate CVE-2024-47070

Install security update from vendor's website.

authentik - addressed in versions 2024.6.5, 2024.8.3

External References

Related Security Bulletins