Vulnerability · Published Mar 19, 2026 · Assigned by kubernetes

CVE-2026-4342ingress-nginx comment-based nginx configuration injection

High 8.8

In plain English

A high-severity improper input validation in ingress-nginx from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.5%top 26.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

A security issue was discovered in ingress-nginx where a combination of Ingress annotations 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.)

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gok8s.io/ingress-nginx0.0.0-20260319175635-5183b7d86137GHSA-f53h-mxv9-cp98
Gok8s.io/ingress-nginx0.0.0-20260319175635-5183b7d86137GO-2026-4796

Affected products (as reported)

VendorProductVersions
Kubernetes ingress-nginx 0 – before 1.13.90 – before 1.14.50 – before 1.15.1

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References