# CVE-2026-66362: NGF vulnerability

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

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| NGINX Gateway Fabric 2.5 | 2.6.8 or later |

## The vendor's description

Description:
When NGINX Plus is configured as the data plane for NGINX Gateway Fabric, an injection vulnerability exists in the NGINX configuration generator component of NGINX Gateway Fabric. User-supplied string values from the Authentication Filter Custom Resource Definition clientID or cookieName fields, or in the clientSecret field of a Secret referenced by an Authentication Filter, are rendered directly into NGINX configuration templates without sanitization or escaping. 

Impact:
An authenticated attacker with permission to create or modify these resources may craft values that inject arbitrary NGINX configuration directives. This is a control plane issue; there is no data plane exposure.

## Workarounds

As this attack is conducted by authenticated users with Kubernetes role-based access control (RBAC) write access to the affected CRDs, the only complete mitigation is to restrict that access to fully trusted administrators only.

## Sources

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

---

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.
