CVE-2026-4342

ingress-nginx comment-based nginx configuration injection

State
Published
Severity
8.8 High
Published
Mar 19, 2026
Updated
Mar 21, 2026
Reserved
Mar 17, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hkubernetes

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
ingress-nginxKubernetes
  • before 1.13.9Affected
  • before 1.14.5Affected
  • before 1.15.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.