CVE-2025-1974: ingress-nginx admission controller RCE escalation
(updated )
A security issue was discovered in Kubernetes where under certain conditions, an unauthenticated attacker with access to the pod network can achieve arbitrary code execution in the context of the ingress-nginx controller. This can lead to disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)
References
- github.com/B1ack4sh/Blackash-CVE-2025-1974
- github.com/advisories/GHSA-mgvx-rpfc-9mpv
- github.com/kubernetes/ingress-nginx
- github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.11.5
- github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.12.1
- github.com/kubernetes/kubernetes/issues/131009
- groups.google.com/g/kubernetes-security-announce/c/2qa9DFtN0cQ
- https://github.com/kubernetes/kubernetes/issues/131009
- nvd.nist.gov/vuln/detail/CVE-2025-1974
- security.netapp.com/advisory/ntap-20250328-0008
- www.exploit-db.com/exploits/52475
Code Behaviors & Features
Detect and mitigate CVE-2025-1974 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →