CVE-2023-36456 in Goauthentik Authentik
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 th...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Goauthentik | Authentik | < 2023.4.3 ≥ 2023.5.0, < 2023.5.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-36456 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-004979-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| Published | 2023-07-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-436: CWE-436
Related attack patterns (CAPEC)
CAPEC-34 HTTP Response Splitting via CWE-436
CAPEC-105 HTTP Request Splitting via CWE-436
CAPEC-273 HTTP Response Smuggling via CWE-436
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
authentik, an open-source Identity Provider, is vulnerable to IP address spoofing due to improper verification of X-Forwarded-For and X-Real-IP headers in versions prior to 2023.4.3 and 2023.5.5. This vulnerability affects setups directly accessible by users without a reverse proxy, potentially leading to spoofed IP addresses in logs and downstream applications.
The attack vector involves an attacker manipulating the X-Forwarded-For and X-Real-IP headers to spoof the source IP address. This can be done by sending requests directly to the authentik server without a reverse proxy, allowing the attacker to control the values of these headers.
Questions
What is CVE-2023-36456?
authentik, an open-source Identity Provider, is vulnerable to IP address spoofing due to improper verification of X-Forwarded-For and X-Real-IP headers in versions prior to 2023.4.3 and 2023.5.5. This vulnerability affects setups directly accessible by users without a reverse proxy, potentially leading to spoofed IP addresses in logs and downstream applications.
What is the CVSS score for CVE-2023-36456?
CVE-2023-36456 has CVSS 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.8%.
Is CVE-2023-36456 actively exploited?
No confirmed active exploitation of CVE-2023-36456 as of 2026-09-25.
How do I remediate CVE-2023-36456?
Priority: MEDIUM.
What systems are affected by CVE-2023-36456?
CVE-2023-36456 affects Goauthentik Authentik.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Goauthentik","product":"Authentik","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.