{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-25748","published":"2023-05-24T17:15:09.253000Z","last_modified":"2026-06-17T03:42:23.740000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*","part":"a","vendor":"kubernetes","product":"ingress-nginx","version_end_excluding":"1.2.1"}],"cpes_truncated":false,"vendors":["kubernetes"],"products":["kubernetes/ingress-nginx"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00694,"percentile":0.54179,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-863x-868h-968x","ecosystem":"Go","name":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","ranges":[{"introduced":"0","fixed":"1.2.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-25748/","html_en":"/en/cve/CVE-2021-25748/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-25748","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-25748"},"untrusted":{"vendor_name":"Kubernetes","product_name":"Ingress-nginx","desc_en":"A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of the `spec.rules[].http.paths[].path` field of 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.","affected":[{"untrusted_vendor":"Kubernetes","untrusted_product":"Kubernetes ingress-nginx","versions":[]}],"references":[{"url":"https://github.com/kubernetes/ingress-nginx/issues/8686","tags":["Issue Tracking","Mitigation","Vendor Advisory"]},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8","tags":["Mailing List","Mitigation","Vendor Advisory"]}]}}