ZeroHour

CVE-2026-66362

niche

NGINX configuration injection in NGINX Gateway Fabric (NGINX Plus data plane)

CVSS 4.0
8.6 high
EPSS
<1%p28
Published
()
Modified
AI analysis

NGINX Gateway Fabric, when configured with NGINX Plus as its data plane, has an injection flaw (CWE-76) in its NGINX configuration generator: user-supplied values from the AuthenticationFilter Custom Resource's clientID and cookieName fields, or the clientSecret of a referenced Secret, are written directly into NGINX configuration templates without sanitization or escaping. An authenticated attacker who holds Kubernetes permissions to create or modify these resources can craft field values that inject arbitrary NGINX configuration directives into the generated config. Successful injection yields high-impact confidentiality and integrity effects on the affected gateway per the CVSS 4.0 score of 8.6 (network vector, low privileges, no user interaction), though the vendor notes this is a control-plane issue with no data plane exposure. Affected users are organizations running NGINX Gateway Fabric with an NGINX Plus data plane where less-privileged users can manage AuthenticationFilter resources or their Secrets. No public proof-of-concept, KEV listing, or known exploitation exists, and EPSS estimates only a 0.3% probability of exploitation in the next 30 days.

What to do: Upgrade NGINX Gateway Fabric to the fixed release once identified in the F5 advisory (fixed versions are not given in this data). In the meantime, restrict cluster permissions so only trusted operators can create or modify AuthenticationFilter resources and the Secrets supplying clientSecret, and audit existing clientID, cookieName, and clientSecret values for embedded NGINX directives or unexpected braces/semicolons.

Affected
F5 (NGINX) NGINX Gateway Fabric, configured with NGINX Plus as the data plane
Estimated exposure
nicheunknown; plausibly hundreds to low thousands of Kubernetes clusters — NGINX Gateway Fabric is a newer F5 Kubernetes controller whose exposure is further narrowed by the requirement for a commercial NGINX Plus data plane and by attacker privileges on AuthenticationFilter resources, and no public install or…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-76
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.