{"cve":"CVE-2021-25746","nvd":{"published":"2022-05-06T01:15:09.180","modified":"2026-06-17T03:42:23.623","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1},"cwes":["CWE-20"],"references":["https://github.com/kubernetes/ingress-nginx/issues/8503","https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ","https://security.netapp.com/advisory/ntap-20220609-0006/","https://github.com/kubernetes/ingress-nginx/issues/8503","https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ"],"products":["kubernetes:ingress-nginx"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2021-25746","score":0.01436,"percentile":0.73118,"date":"2026-11-01"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}