CVE-2026-91184

NGINX Gateway Fabric vulnerability

Published Oct 14, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Description

NGINX Gateway Fabric has a vulnerability when it renders the spec.basic.realm (and spec.jwt.realm) field of a namespaced AuthenticationFilter verbatim, unescaped and unvalidated, into the shared data-plane nginx.conf as auth_basic "<realm>";. A namespaced authenticated attacker that configures AuthenticationFilter CRD to an HTTPRoute/GRPCRoute on a shared Gateway can craft a realm value that closes the quoted directive and the enclosing location {} block and injects arbitrary NGINX directives into that Gateway's data-plane config. 

Impact

A remote authenticated attacker can send crafted requests to configure NGINX Gateway Fabric AuthenticationFilter CRD and may be able to read every co-located tenant's mounted secrets, SSRF via proxy_pass, reading the pod ServiceAccount token, or hijacking other tenants' routes. There is no data plane exposure; this is a control plane issue only.






Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Analysis

AI-generated

Technical impact

An authenticated attacker with write access to the AuthenticationFilter custom resource can supply an arbitrary spec.basic.realm or spec.jwt.realm string. The Gateway Fabric engine inserts that value directly into the shared nginx.conf as an auth_basic directive, without escaping or validation. Because the string is not protected, the attacker can close the opening quote and the surrounding location block and inject any Nginx directive. This flaw allows alteration of the gateway’s data‑plane configuration, enabling the reader of co‑located tenants’ secrets, SSRF through proxy_pass, reading the pod ServiceAccount token, or hijacking other tenants’ routes. It is a control‑plane vulnerability; the data plane itself is not exposed.

Affected Systems

F5 NGINX Gateway Fabric. All releases that include the AuthenticationFilter CRD are affected. No specific version numbers are listed, so any current, supported deployment using the AuthenticationFilter is at risk and the CVE does not cover end‑of‑support versions.

Risk and Exploitability

The CVSS score of 8.7 denotes high severity. The EPSS score of less than 1% indicates a very low exploitation probability. The attack requires an authenticated user with write privileges on AuthenticationFilter and secrets, which limits the attack surface to privileged roles. The attacker can inject arbitrary Nginx directives, potentially reading other tenants’ secrets, hijacking routes, or causing SSRF attacks. The vulnerability is not listed in the CISA KEV catalog.

Remediation

Vendor Workaround

As this attack is conducted by authenticated users with Kubernetes Role-based Access Control (RBAC) write access to AuthenticationFilter CRD and Secrets, the only complete mitigation is to restrict that access to fully trusted administrators only.


OpenCVE Recommended Actions

  • Restrict RBAC write permissions on the AuthenticationFilter CRD and Secrets to trusted administrators only.
  • Apply any patches or updates from F5 that address the realm injection flaw as soon as they become available.
  • Audit current RBAC policies and remove unnecessary write access to the AuthenticationFilter CRD, ensuring only privileged users can modify it.

Generated by OpenCVE AI on October 15, 2026 at 19:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared F5
F5 nginx Gateway Fabric
Vendors & Products F5
F5 nginx Gateway Fabric
Type Values Removed Values Added
Description Description NGINX Gateway Fabric has a vulnerability when it renders the spec.basic.realm (and spec.jwt.realm) field of a namespaced AuthenticationFilter verbatim, unescaped and unvalidated, into the shared data-plane nginx.conf as auth_basic "<realm>";. A namespaced authenticated attacker that configures AuthenticationFilter CRD to an HTTPRoute/GRPCRoute on a shared Gateway can craft a realm value that closes the quoted directive and the enclosing location {} block and injects arbitrary NGINX directives into that Gateway's data-plane config.  Impact A remote authenticated attacker can send crafted requests to configure NGINX Gateway Fabric AuthenticationFilter CRD and may be able to read every co-located tenant's mounted secrets, SSRF via proxy_pass, reading the pod ServiceAccount token, or hijacking other tenants' routes. There is no data plane exposure; this is a control plane issue only. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Title NGINX Gateway Fabric vulnerability
Weaknesses CWE-76
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-76

    Improper Neutralization of Equivalent Special Elements

Sources

Status
PUBLISHED
Assigner
f5
Published
Updated
Oct 15, 2026, 10:31 AM
Reserved
Sep 30, 2026, 9:56 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 15, 2026, 11:18 AM