CVE-2023-36456
Authentik lacks Proxy IP headers validation
Mitigation
- Upgrade authentik to 2023.5.5 or later.
Who should check
- Anyone running goauthentik authentik < 2023.4.3; >= 2023.5.0, < 2023.5.5
Vulnerability facts
- Affected
- goauthentik authentik < 2023.4.3; >= 2023.5.0, < 2023.5.5
- Fixed in
- goauthentik authentik 2023.4.3, goauthentik authentik 2023.5.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.83% chance of exploitation in 30 days (percentile 55, 2026-11-26)
- CWE
- CWE-436
- Modified
Description
authentik is an open-source Identity Provider. Prior to versions 2023.4.3 and 2023.5.5, authentik does not verify the source of the X-Forwarded-For and X-Real-IP headers, both in the Python code and the go code. Only authentik setups that are directly accessible by users without a reverse proxy are susceptible to this. Possible spoofing of IP addresses in logs, downstream applications proxied by (built in) outpost, IP bypassing in custom flows if used. This poses a possible security risk when someone has flows or policies that check the user's IP address, e.g. when they want to ignore the user's 2 factor authentication when the user is connected to the company network. A second security risk is that the IP addresses in the logfiles and user sessions are not reliable anymore. Anybody can spoof this address and one cannot verify that the user has logged in from the IP address that is in their account's log. A third risk is that this header is passed on to the proxied application behind an outpost. The application may do any kind of verification, logging, blocking or rate limiting based on the IP address, and this IP address can be overridden by anybody that want to. Versions 2023.4.3 and 2023.5.5 contain a patch for this issue.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| goauthentik authentik | < 2023.4.3; >= 2023.5.0, < 2023.5.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-36456. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-36456.md Affected: goauthentik authentik < 2023.4.3; >= 2023.5.0, < 2023.5.5 Fixed in: goauthentik authentik 2023.4.3, goauthentik authentik 2023.5.5 Steps: 1. Search this machine and project for goauthentik authentik: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2023-36456 being exploited?
There is no confirmed exploitation: CVE-2023-36456 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.83% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-36456?
High: CVSS 8.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-36456?
goauthentik authentik < 2023.4.3; >= 2023.5.0, < 2023.5.5.
Is there a fix for CVE-2023-36456?
Yes. Fixed in goauthentik authentik 2023.4.3, goauthentik authentik 2023.5.5. Upgrade authentik to 2023.5.5 or later.
How do I check if I'm affected by CVE-2023-36456?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.