# CVE-2026-94197: NGINX Ingress Controller ExternalAuth header spoofing bypass

Client-supplied X-Forwarded-* and X-Original-* headers reach the ExternalAuth subrequest unsanitized, so an unauthenticated attacker can spoof request details and reach protected paths (CVSS 7.5). No exploitation has been reported in the sources we checked.

- Vendor: F5, NGINX Ingress Controller ExternalAuth
- Severity: HIGH (CVSS 4.0 8.7)
- Exploited (CISA KEV): not listed
- EPSS: 0.4% on 2026-12-02
- Public exploit: none reported
- Patch available: yes
- Vendor advisory: K000162611, https://my.f5.com/manage/s/article/K000162611
- Published: 2026-10-14; updated: 2026-10-15
- Page: https://patchtonight.com/cve/CVE-2026-94197/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| NGINX Ingress Controller 5.5.0 to 5.6.x | 5.7.0 or later |
| NGINX Ingress Controller before 5.5.0 | Not affected (ExternalAuth was introduced in 5.5.0) |

## What it is

NGINX Ingress Controller (NIC) can hand authentication decisions to an external service. When it does, it sends that service an internal `auth_request` subrequest. On affected versions, the headers `X-Forwarded-Prefix`, `X-Forwarded-URI`, `X-Original-URI` and `X-Forwarded-Method` from the client are **passed into that subrequest unsanitized**.

An unauthenticated attacker over the network can therefore forge the path and method the auth provider sees. If the provider makes its decision from those values, the attacker may reach paths that should be protected. The CVE record rates the impact as confidentiality only (CVSS 3.1 of 7.5, CVSS 4.0 of 8.7) and calls it a "data plane issue only."

The weakness is CWE-290, authentication bypass by spoofing. The record does not report exploitation, a public proof of concept or a CISA KEV listing; see the open points in the editor checks.

## Am I affected?

You're affected if you run **NGINX Ingress Controller 5.5.0 up to, but not including, 5.7.0** and use **the ExternalAuth policy or Ingress external authentication**. The exposure depends on your auth backend: it matters if the backend trusts the forwarded path or method headers.

F5 did not evaluate versions that have reached End of Technical Support. Treat them as unaffected only after you confirm with F5.

To check: find the NIC version in your running controller image, then look for ExternalAuth policies and Ingress resources that use external authentication. Then check whether your auth backend decides based on `X-Forwarded-*` or `X-Original-*` values.

## What to do

1. **Upgrade NGINX Ingress Controller to 5.7.0 or later.**
2. If you can't upgrade yet, **change the auth backend** so it ignores client-supplied `X-Forwarded-*` and `X-Original-*` headers, or so it evaluates only session tokens and not forwarded paths. This is F5's workaround. Test it first: backends that rely on those headers for routing rules will change behavior.
3. If a vulnerable controller was reachable from the internet, review access to protected paths from before the upgrade (see Detection). Rotate secrets that those paths exposed if you find unexpected access.

## Detection

F5 and the sources we checked have published no exploitation indicators. What you can look for:

- **Requests with client-set `X-Forwarded-Prefix`, `X-Forwarded-URI`, `X-Original-URI` or `X-Forwarded-Method`** arriving at the controller from outside. Your edge proxy or load balancer should normally set these, not clients.
- **Successful responses on protected paths** from clients that never completed authentication with your provider.
- **Auth backend logs** showing path or method values that don't match the request the controller actually received.

## Sources

- [F5 advisory K000162611 (as referenced by the CVE record)](https://my.f5.com/manage/s/article/K000162611)
- [CVE record CVE-2026-94197](https://cveawg.mitre.org/api/cve/CVE-2026-94197)
- [NGINX Ingress Controller releases](https://github.com/nginx/kubernetes-ingress/releases)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
