# CVE-2024-47070: authentik vulnerable to password authentication bypass via X-Forwarded-For HTTP header

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-09-27T15:18:03.999Z
- Modified: 2026-09-08T08:45:50.109Z
- Also known as: BIT-AUTHENTIK-2024-47070, GHSA-7jxf-mmg9-9hg7
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- goauthentik authentik: >= 2024.8.0-rc1, < 2024.8.3; < 2024.6.5; before 2024.6.5; from 2024.8.0-rc1 before 2024.8.3; from 2024.8.0 before 2024.8.3
- authentik (Bitnami): before 2024.6.5; from 2024.8.0 before 2024.8.3

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/goauthentik/authentik/security/advisories/GHSA-7jxf-mmg9-9hg7> (advisory, vendor-advisory)
- <https://github.com/goauthentik/authentik/commit/78f7b04d5a62b2a9d4316282a713c2c7857dbe29> (fix, patch)
- <https://github.com/goauthentik/authentik/commit/dd8f809161e738b25765797eb2a5c77a7d3fc2cf> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47070> (web)

## Sources

- CVE List: [CVE-2024-47070](https://www.cve.org/CVERecord?id=CVE-2024-47070), CVE Terms of Use, modified 2024-09-27
- NVD: [CVE-2024-47070](https://nvd.nist.gov/vuln/detail/CVE-2024-47070), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-AUTHENTIK-2024-47070](https://osv.dev/vulnerability/BIT-AUTHENTIK-2024-47070), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-47070 · Whole record: https://cve.day/CVE-2024-47070.json · Rebuilt by cve.day 2026-11-25T22:58:45.861Z
