
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-15566 is an nginx configuration injection vulnerability in ingress-nginx, a widely used Kubernetes ingress controller. The nginx.ingress.kubernetes.io/auth-proxy-set-headers Ingress annotation fails to properly validate input, allowing an attacker to inject arbitrary nginx configuration directives. This can lead to arbitrary code execution within the ingress-nginx controller context and disclosure of Kubernetes Secrets accessible to the controller — which, in default installations, includes all Secrets cluster-wide. Affected versions are ingress-nginx < v1.12.5 and < v1.13.1. The vulnerability was disclosed on February 6, 2026, with a CVSS v3.1 base score of 8.8 (High) (Kubernetes Issue, Feedly).
The root cause is improper input validation (CWE-20) in the handling of the nginx.ingress.kubernetes.io/auth-proxy-set-headers Ingress annotation. When a user creates or modifies an Ingress resource with a malicious ConfigMap reference in this annotation, the ingress-nginx controller incorporates the unsanitized content directly into the generated nginx configuration. This allows an attacker with permissions to create or modify Ingress resources (low-privilege access) to inject arbitrary nginx directives, which are then executed in the context of the ingress-nginx controller process. The vulnerability was discovered and patched by Jan-Otto Kröpke (Kubernetes Issue).
Successful exploitation allows an attacker with low Kubernetes RBAC privileges (specifically, the ability to create or modify Ingress resources) to achieve arbitrary code execution within the ingress-nginx controller pod and exfiltrate Kubernetes Secrets accessible to the controller. Because the default ingress-nginx installation grants the controller cluster-wide read access to all Secrets, this effectively means an attacker could harvest credentials, API tokens, TLS certificates, and other sensitive data from across the entire cluster. Additionally, the attacker could manipulate ingress routing behavior, disrupt availability, or use the compromised controller as a pivot point for further lateral movement within the cluster (Kubernetes Issue, Feedly).
As of the disclosure date, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation (Feedly). The EPSS score is approximately 0.034%, reflecting a currently low probability of exploitation in the near term. No threat actor attribution has been reported, and the vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the low privilege requirement and network-accessible attack vector make this an attractive target if exploitation techniques become public.
kubectl get pods --all-namespaces --selector app.kubernetes.io/name=ingress-nginx.nginx.ingress.kubernetes.io/auth-proxy-set-headers annotation to reference the malicious ConfigMap (e.g., nginx.ingress.kubernetes.io/auth-proxy-set-headers: <namespace>/<malicious-configmap>).nginx.ingress.kubernetes.io/auth-proxy-set-headers annotation.The primary remediation is to upgrade ingress-nginx to v1.12.5, v1.13.1, or any later version, which includes fixes for this vulnerability (Kubernetes Issue). As interim mitigations, restrict Kubernetes RBAC permissions so that only trusted users and service accounts can create or modify Ingress resources and ConfigMaps. Apply the principle of least privilege to the ingress-nginx controller's own RBAC role to limit which Secrets it can access. Monitor ingress-nginx controller logs and Kubernetes audit logs for suspicious ConfigMap references in the auth-proxy-set-headers annotation. If exploitation is suspected, contact security@kubernetes.io.
The vulnerability was covered by The Hacker Wire, which highlighted the RCE risk via annotation injection (The Hacker Wire). It appeared in multiple CVEWatch Reddit trending CVE roundups for the week of February 7–9, 2026, indicating notable community interest. CISA included it in their vulnerability bulletin for the week of February 2, 2026 (CISA Bulletin). A technical write-up was published by Infinit Security detailing the annotation injection mechanism (Infinit Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."