{"id":"BIT-nginx-ingress-controller-2021-25746","summary":"Ingress-nginx directive injection via annotations","details":"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.","modified":"2026-05-20T08:11:53.551803321Z","published":"2024-03-06T10:59:11.279Z","withdrawn":"2026-05-20T08:00:04.604401962Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://github.com/kubernetes/ingress-nginx/issues/8503"},{"type":"WEB","url":"https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220609-0006/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25746"}],"affected":[{"package":{"name":"nginx-ingress-controller","ecosystem":"Bitnami","purl":"pkg:bitnami/nginx-ingress-controller"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/nginx-ingress-controller/BIT-nginx-ingress-controller-2021-25746.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"}]}],"schema_version":"1.7.3"}