CVE-2024-47070: authentik vulnerable to password authentication bypass via X-Forwarded-For HTTP header
CVE-2024-47070 affects 137 listed versions of authentik in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
authentik
137 of 214 listed versions are affected. Fixed in 2024.8.3, 2024.6.5. The newest release, 2026.8.7, is not affected.
2024.8.2 2024.8.1 2024.8.0 2024.6.4 2024.6.3 2024.6.2 2024.6.1 2024.6.0 2024.4.4 2024.4.3 2024.4.2 2024.4.1 2024.4.0 2024.2.4 2024.2.3 2024.2.2 2024.2.1 2024.2.0 2023.10.7 2023.10.6 2023.10.5 2023.10.4 2023.10.3 2023.10.2 2023.10.1 2023.10.0 2023.8.7 2023.8.6 2023.8.5 2023.8.4 2023.8.3 2023.8.2 2023.8.1 2023.8.0 2023.6.2 2023.6.1 2023.6.0 2023.5.6 2023.5.5 2023.5.4 2023.5.3 2023.5.2 2023.5.1 2023.5.0 2023.4.3 2023.4.2 2023.4.1 2023.4.0 2023.3.1 2023.3.0 2023.2.3 2023.2.2 2023.2.1 2023.2.0 2023.1.3 2023.1.2 2023.1.1 2023.1.0 2022.12.3 2022.12.2 and 77 more
What it is
authentik is an open-source identity provider. A vulnerability that exists in versions prior to 2024.8.3 and 2024.6.5 allows bypassing password login by adding X-Forwarded-For header with an unparsable IP address, e.g. `a`. This results in a possibility of logging into any account with a known login or email address. The vulnerability requires the authentik instance to trust X-Forwarded-For header provided by the attacker, thus it is not reproducible from external hosts on a properly configured environment. The issue occurs due to the password stage having a policy bound to it, which skips the password stage if the Identification stage is setup to also contain a password stage. Due to the invalid X-Forwarded-For header, which does not get validated to be an IP Address early enough, the exception happens later and the policy fails. The default blueprint doesn't correctly set `failure_result` to `True` on the policy binding meaning that due to this exception the policy returns false and the password stage is skipped. Versions 2024.8.3 and 2024.6.5 fix this issue.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H (GitHub)
Published by GitHub on 27 September 2024. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2024-47070 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.