Vulnerability record · CVE-2021-25746 · published 6 May 2022
CVE-2021-25746: Kubernetes ingress-nginx improper input validation vulnerability
Kubernetes · Ingress Nginx
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use .metadata.annotations in an Ingress object (in the networking.k8s.io or extensions API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.
Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use .metadata.annotations in an Ingress object (in the networking.k8s.io or extensions API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/kubernetes/ingress-nginx/issues/8503 | Issue TrackingMitigationThird Party Advisory |
| https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ | Issue TrackingMitigationThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20220609-0006/ | Third Party Advisory |
| https://github.com/kubernetes/ingress-nginx/issues/8503 | Issue TrackingMitigationThird Party Advisory |
| https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ | Issue TrackingMitigationThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20220609-0006/ | Third Party Advisory |
Track CVE-2021-25746 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-25746), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.