CVE-2026-4342

HIGH

ingress-nginx comment-based nginx configuration injection

Title source: cna

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

Exploits (1)

nomisec WORKING POC
by stuartMoorhouse · poc
https://github.com/stuartMoorhouse/CVE-2026-4342

Scores

CVSS v3 8.8
EPSS 0.0005
EPSS Percentile 16.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20
Status published
Products (4)
k8s.io/ingress-nginx 0 - 0.0.0-20260319175635-5183b7d86137Go
Kubernetes/ingress-nginx < 1.13.9
Kubernetes/ingress-nginx < 1.14.5
Kubernetes/ingress-nginx < 1.15.1
Published Mar 19, 2026
Tracked Since Mar 20, 2026