CVE-2026-4342 HIGH

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

Vendor Kubernetes
Product ingress-nginx
Weakness CWE-20 · Input validation
Published March 19, 2026
Last update March 21, 2026

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

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

Key dates

Disclosure timeline

March 19, 2026 CVE published
March 21, 2026 Record updated