Description
A security issue was discovered in ingress-nginx where the `nginx.ingress.kubernetes.io/auth-method` Ingress annotation can be used to inject configuration into nginx. This can lead to arbitrary code execution in the context of the ingress-nginx controller, and disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)
Published: 2026-02-03
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch
AI Analysis

Impact

Ingress-nginx allows the nginx.ingress.kubernetes.io/auth-method annotation to inject arbitrary configuration into the embedded nginx server. This flaw is an input-validation weakness that can lead to unrestricted execution of attacker-controlled directives, potentially executing code within the ingress-nginx controller process. The vulnerability additionally exposes controller‑accessible secrets, giving an attacker the ability to read cluster‑wide secrets. The primary impact is therefore execution of code in the controller’s context and compromise of sensitive data.

Affected Systems

All installations of the Kubernetes ingress-nginx controller are affected, regardless of the specific version; any cluster running the controller can be targeted through the auth-method annotation on Ingress resources. No specific version range is listed, indicating that the default configuration remains vulnerable across releases that have not applied a fix. The vulnerability applies to the controller pod, which typically has cluster‑wide read access to Secrets.

Risk and Exploitability

The CVSS score of 8.8 classifies the issue as high severity, but the EPSS figure of less than 1% suggests a very low probability of exploitation at present. The flaw is not listed in CISA’s KEV catalog. Exploitation requires the attacker to create or update an Ingress resource with a malicious auth-method value, and the controller must run with permissions that allow it to read Secrets. If those conditions are satisfied, the attacker can inject configuration that executes arbitrary code and leaks secrets.

Generated by OpenCVE AI on April 17, 2026 at 23:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest ingress-nginx controller patch or upgrade to a version that fixes the auth-method injection flaw.
  • Restrict the controller’s service account to only the namespaces necessary for operation, preventing cluster‑wide secret access.
  • Enable admission control or implement an OpenAPI validation webhook to reject or sanitize the nginx.ingress.kubernetes.io/auth-method annotation in Ingress objects.

Generated by OpenCVE AI on April 17, 2026 at 23:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9h3p-52vh-959w ingress-nginx's `nginx.ingress.kubernetes.io/auth-method` Ingress annotation can be used to inject configuration into nginx
History

Wed, 04 Feb 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 04 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Kubernetes
Kubernetes ingress-nginx
Vendors & Products Kubernetes
Kubernetes ingress-nginx

Tue, 03 Feb 2026 22:45:00 +0000

Type Values Removed Values Added
Description A security issue was discovered in ingress-nginx where the `nginx.ingress.kubernetes.io/auth-method` Ingress annotation can be used to inject configuration into nginx. This can lead to arbitrary code execution in the context of the ingress-nginx controller, and disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)
Title ingress-nginx auth-method nginx configuration injection
Weaknesses CWE-20
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'}


Subscriptions

Kubernetes Ingress-nginx
cve-icon MITRE

Status: PUBLISHED

Assigner: kubernetes

Published:

Updated: 2026-02-26T15:04:22.416Z

Reserved: 2026-01-29T00:06:06.902Z

Link: CVE-2026-1580

cve-icon Vulnrichment

Updated: 2026-02-04T14:41:11.540Z

cve-icon NVD

Status : Deferred

Published: 2026-02-03T23:16:06.290

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-1580

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T00:00:09Z

Weaknesses