# CVE-2026-66362: NGINX Gateway Fabric injection in configuration generator

Source: https://junglewise.ai/threats/cve-2026-66362-nginx-gateway-fabric-injection-in-configuration-generator  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-02. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-66362 · Severity: high · CVSS 8.1 · Published 2026-09-02

NGINX Gateway Fabric is a control plane component that manages NGINX Plus instances. An authenticated attacker with resource creation permissions can inject arbitrary NGINX configuration directives by crafting malicious values in authentication filter settings, potentially allowing unauthorized configuration changes and control plane compromise.

Vendors: [NGINX](https://junglewise.ai/threats/vendors/nginx).

## Quick answers

**Is CVE-2026-66362 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-66362 being exploited in the wild.

**How severe is CVE-2026-66362?** High severity, with a CVSS score of 8.1, published 2 September 2026.

**Which products and versions are affected?** NGINX Gateway Fabric <UNKNOWN>.

**Is there a fix for CVE-2026-66362?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-66362 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-66362?** Check whether you run NGINX Gateway Fabric at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A configuration injection vulnerability exists in NGINX Gateway Fabric's NGINX configuration generator component. User-supplied string values from Authentication Filter Custom Resource Definition fields (clientID, cookieName) and the clientSecret field from referenced Secrets are rendered directly into NGINX configuration templates without sanitization or escaping. An authenticated attacker with permission to create or modify these resources can craft values containing NGINX configuration directives that will be injected into the resulting configuration. This is a control plane issue with no direct data plane exposure; exploitation requires authentication and appropriate RBAC permissions.

## Affected products

- NGINX Gateway Fabric <UNKNOWN>

## Timeline

- 2026-09-02: disclosed

## References

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

## Related threats

- [NGINX heap buffer overflow in ngx_http_rewrite_module](https://junglewise.ai/threats/cve-2026-42945-nginx-heap-buffer-overflow-in-ngx-http-rewrite-module)
