# CVE-2026-91184: NGINX Gateway Fabric vulnerability

- Vendor: F5, NGINX Gateway Fabric
- Severity: HIGH (CVSS 4.0 8.7)
- Exploited (CISA KEV): not listed
- EPSS: 0.5% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: K000162609, https://my.f5.com/manage/s/article/K000162609
- Published: 2023-01-01; updated: 2026-10-14
- Page: https://patchtonight.com/cve/CVE-2026-91184/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| NGINX Gateway Fabric 2.4 | 2.8.0 or later |

## The vendor's description

Description

NGINX Gateway Fabric has a vulnerability when it renders the spec.basic.realm (and spec.jwt.realm) field of a namespaced AuthenticationFilter verbatim, unescaped and unvalidated, into the shared data-plane nginx.conf as auth_basic "<realm>";. A namespaced authenticated attacker that configures AuthenticationFilter CRD to an HTTPRoute/GRPCRoute on a shared Gateway can craft a realm value that closes the quoted directive and the enclosing location {} block and injects arbitrary NGINX directives into that Gateway's data-plane config. 

Impact

A remote authenticated attacker can send crafted requests to configure NGINX Gateway Fabric AuthenticationFilter CRD and may be able to read every co-located tenant's mounted secrets, SSRF via proxy_pass, reading the pod ServiceAccount token, or hijacking other tenants' routes. There is no data plane exposure; this is a control plane issue only.






Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

## Workarounds

As this attack is conducted by authenticated users with Kubernetes Role-based Access Control (RBAC) write access to AuthenticationFilter CRD and Secrets, the only complete mitigation is to restrict that access to fully trusted administrators only.

## Sources

- [F5 advisory](https://my.f5.com/manage/s/article/K000162609)

---

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.
