CVE-2026-4342
HIGHingress-nginx comment-based nginx configuration injection
Title source: cnaExploitation Summary
EIP tracks 2 public exploits for CVE-2026-4342. PoCs published by fearlessresponsesolution, stuartMoorhouse.
AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2026-4342, targeting ingress-nginx v1.15.0. The exploit leverages annotation injection to achieve RCE and Kubernetes secret disclosure via Lua code embedded in nginx configuration.
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 (2)
This repository contains a functional exploit PoC for CVE-2026-4342, targeting ingress-nginx v1.15.0. The exploit leverages annotation injection to achieve RCE and Kubernetes secret disclosure via Lua code embedded in nginx configuration.
This repository contains a functional exploit PoC for CVE-2026-4342, demonstrating annotation injection in ingress-nginx (< v1.15.1) leading to RCE and secret disclosure via malicious Ingress resources. The exploit leverages the `configuration-snippet` annotation to inject Lua code into nginx config, enabling command execution and Kubernetes API calls.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H