NGINX Gateway Fabric
CVE-2026-11311
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain RBAC to edit NginxProxy/AuthenticationFilter CRDs
-
DeliveryCraft serverTokens/extraAuthArgs with NGINX syntax
-
ExploitApply CRD via Kubernetes API
-
ExecutionControl plane renders unescaped value into template
-
PersistMalicious directives injected into NGINX config
-
ImpactAltered NGINX Plus behavior on data plane
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 (1) NGINX Gateway Fabric deployed with NGINX Plus as the data plane - the vulnerability is scoped to that configuration; and (2) an authenticated principal (PR:L) holding Kubernetes RBAC permission to create or modify the NginxProxy CRD (serverTokens field) or the AuthenticationFilter CRD (extraAuthArgs field). The limiting factor is this CRD write permission: in a cluster where only cluster-admins manage these resources, the exploitable population is small, whereas multi-tenant clusters that delegate CRD management to application teams are directly exposed. No user interaction is needed (UI:N) and the attack is over the network via the Kubernetes API (AV:N). The trigger is a control-plane action with no direct data-plane network exposure required. |
| Impact | Signals are moderately consistent and point to a real but access-gated risk rather than a mass-exploitation threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N) yields 8.6 (High) driven by high confidentiality and integrity impact, but it explicitly requires PR:L - an attacker must already hold Kubernetes RBAC permission to write these CRDs, which is a meaningful barrier. SSVC reinforces this: Exploitation=none, Automatable=no, Technical Impact=total, i.e. severe consequences but no evidence of active or scalable exploitation. EPSS is low at 0.36% (28th percentile), aligning with the absence of KEV listing and no known POC. Note a framing tension worth verifying: the vector marks subsequent-system impact N (SC/SI/SA:N) and the vendor calls this a control-plane-only issue, yet the injected directives are ultimately rendered into data-plane NGINX config - so the practical blast radius on the data plane should be confirmed with F5 (advisory K000161611). Overall this is a legitimate priority for multi-tenant clusters where CRD write access is delegated, but lower urgency in single-tenant or tightly-RBAC'd deployments. |
| Exploit ScenarioDerived | A developer or tenant service account that has been delegated permission to manage AuthenticationFilter resources in its namespace crafts an extraAuthArgs value containing NGINX directive-breaking syntax, then applies the CRD. The control-plane config generator renders that string into the NGINX Plus configuration unescaped, injecting attacker-chosen directives (for example altering auth handling, proxy behavior, or logging) into the running data plane. No public exploit is identified, but the attack requires only standard kubectl access and low complexity (AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 02, 2026
Configuration injection in F5 NGINX Gateway Fabric lets an authenticated Kubernetes user who can create or modify NginxProxy or AuthenticationFilter Custom Resources inject arbitrary NGINX directives into generated data-plane configuration. The flaw lives in the control-plane config generator, which renders the serverTokens and extraAuthArgs fields into NGINX templates without escaping, so any tenant holding RBAC rights over these CRDs can rewrite the NGINX Plus config that gets deployed. There is no public exploit identified at time of analysis and EPSS is low (0.36%), but SSVC rates the technical impact as total.
Earlier versions of this analysis (2)
Configuration injection in F5 NGINX Gateway Fabric allows an authenticated Kubernetes user with rights over the NginxProxy or AuthenticationFilter Custom Resource Definitions to inject arbitrary NGINX directives into the generated data-plane configuration. Because the serverTokens and extraAuthArgs CRD fields are rendered into config templates without sanitization (CWE-76), an attacker can subvert the NGINX Plus data plane's behavior - altering routing, authentication, or exposing internals - despite the trigger being purely control-plane. There is no public exploit identified at time of analysis, and EPSS is low (0.36%, 28th percentile), consistent with SSVC exploitation status of 'none'.
Configuration injection in NGINX Gateway Fabric (when paired with NGINX Plus as the data plane) allows an authenticated Kubernetes user with rights over the NginxProxy or AuthenticationFilter Custom Resource Definitions to inject arbitrary NGINX directives into generated configuration. The flaw lives in the control-plane configuration generator, which renders user-supplied values from the serverTokens and extraAuthArgs CRD fields directly into NGINX templates without sanitization or escaping. No public exploit identified at time of analysis, and the CVSS 8.1 rating reflects high confidentiality and integrity impact via the control plane rather than direct data-plane exposure.
RemediationAI
Patch available per vendor advisory - consult F5 article K000161611 (https://my.f5.com/manage/s/article/K000161611) for the fixed release and upgrade NGINX Gateway Fabric accordingly; no exact fix version is provided in the available data, so confirm it directly with F5. As compensating controls until patched, tighten Kubernetes RBAC so that only trusted administrators can create or modify NginxProxy and AuthenticationFilter Custom Resources (remove create/update/patch verbs on these CRDs from tenant and application service accounts), which directly removes the attacker's entry point at the cost of restricting self-service config for legitimate teams. Additionally, deploy an admission controller (e.g. OPA/Gatekeeper or Kyverno) policy that validates or rejects serverTokens and extraAuthArgs values containing NGINX-significant characters such as ';', '{', '}', and newlines, accepting that overly strict rules may block legitimate custom values. Audit existing NginxProxy and AuthenticationFilter resources for already-injected directives before and after remediation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
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 F5's Kubernetes Gateway API implementation; its control plane translates Kubernetes Custom Resources into NGINX (here NGINX Plus) data-plane configuration through a template-based config generator. The defect is a template injection: string values taken verbatim from the NginxProxy CRD serverTokens field and the AuthenticationFilter CRD extraAuthArgs field are interpolated into the nginx.conf template without sanitization or escaping. This maps to CWE-76 (Improper Neutralization of Equivalent Special Elements) - the generator fails to neutralize NGINX-significant syntax, so an attacker-controlled string can close the intended context and open new directive blocks. The affected component is identified in CPE data as cpe:2.3:a:f5:nginx_gateway_fabric, and exploitation is only relevant when NGINX Plus is configured as the data plane.
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
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
Reached over the Kubernetes API (AV:N/AC:L) but gated by RBAC write access to specific CRDs (PR:L), no user interaction; unescaped config injection yields high confidentiality and integrity impact with no direct availability loss.
Primary rating from Vendor (f5).
CVSS VectorVendor: f5
Lifecycle Timeline
3DescriptionCVE.org
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 NginxProxy Custom Resource Definition serverTokens field and the AuthenticationFilter Custom Resource Definition extraAuthArgs field are rendered directly into NGINX configuration templates without sanitization or escaping. An authenticated attacker with permission to create or modify these Custom Resource Definitions may craft values that inject arbitrary NGINX configuration directives. This is a control plane issue; there is no data plane exposure from the vulnerability trigger itself.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Articles & Coverage 2
Executive ViewAI
F5 NGINX Gateway Fabric contains a configuration injection vulnerability allowing authenticated Kubernetes users with NginxProxy or AuthenticationFilter resource access to inject arbitrary NGINX directives into production data-plane configuration, enabling privilege escalation and cross-tenant traffic manipulation. In multi-tenant environments, this poses a significant insider-threat risk, as compromised service accounts or rogue developers could bypass tenant isolation and disrupt critical services.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce least-privilege RBAC limiting NginxProxy and AuthenticationFilter create/modify permissions to authorized administrators; (2) Deploy Kubernetes admission controllers or policy engines (OPA/Gatekeeper, Kyverno) to validate serverTokens and extraAuthArgs against an approved whitelist; (3) Enable comprehensive Kubernetes audit logging for all CRD modifications; (4) Implement network segmentation and firewall rules restricting control-plane to data-plane communication; (5) Establish monitoring and alerting for anomalous CRD modification patterns.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Affected Products (CPE)CVE.org
More in Nginx Gateway Fabric
View allDirective injection in NGINX Gateway Fabric lets an authenticated namespaced tenant escape the auth_basic "<realm>"; quo
Configuration injection in F5 NGINX Gateway Fabric allows an authenticated Kubernetes user with permission to create or
Configuration injection in NGINX Gateway Fabric allows authenticated Kubernetes users with CRD or Secret write permissio
Denial-of-service in F5 NGINX Gateway Fabric allows an authenticated Kubernetes user with rights to create or modify GRP
A namespaced authenticated attacker holding access to a Kubernetes service account can impersonate the NGINX Agent gRPC
NGINX proxy configurations forwarding traffic to upstream TLS servers can be exploited by network-positioned attackers t
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB