IngressNightmare – Multiple Vulnerabilities in NGINX Controller for Kubernetes Allow Unauthorized Access to Secrets

Listen to this Post

Owners of NGINX Controller versions up to 1.12.1/1.11.5 are affected by critical vulnerabilities (CVE-2025-1097, CVE-2025-1098, CVE-2025-24514, CVE-2025-1974) that enable unauthorized access to Kubernetes cluster secrets. Amazon EKS users are not affected, as EKS does not provide or install the ingress-nginx controller.

Affected Users Must:

  • Urgently upgrade to the latest patched version.
  • Review Kubernetes RBAC policies to restrict unnecessary permissions.
  • Monitor for suspicious activity in cluster logs.

Relevant Links:

You Should Know:

1. Verify Your NGINX Ingress Controller Version

kubectl get pods -n ingress-nginx -l app.kubernetes.io/name=ingress-nginx -o jsonpath='{.items[<em>].spec.containers[</em>].image}' 

Upgrade Command (Helm):

helm upgrade ingress-nginx ingress-nginx/ingress-nginx --version 4.7.1 -n ingress-nginx 

2. Check for Exposed Secrets

kubectl get secrets --all-namespaces 
kubectl audit logs --filter="resource=secrets" 

3. Mitigation Steps