CVE-2026-1580

ingress-nginx auth-method nginx configuration injection

Published Feb 3, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.)

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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 Kubernetes
Kubernetes ingress-nginx
Vendors & Products Kubernetes
Kubernetes ingress-nginx
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'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Feb 26, 2026, 3:04 PM
Reserved
Jan 29, 2026, 12:06 AM
Status
Deferred
Published
Feb 3, 2026, 11:16 PM
Modified
Jun 17, 2026, 10:16 AM