{"id":"CVE-2025-1097","published":"2025-03-24T23:29:05Z","modified":"2026-02-26T19:09:14Z","title":"ingress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation","vendor":"kubernetes","product":"ingress-nginx","tier":"tail","description":{"text":"A security issue was discovered in  ingress-nginx https://github.com/kubernetes/ingress-nginx  where the `auth-tls-match-cn` Ingress annotation can be used to inject configuration into nginx. This can lead to arbitrary code execution in the context of the ingress-nginx controller, and disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.3696,"percentile":0.9855,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/kubernetes/kubernetes/issues/131007","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20250328-0008/","tags":[]},{"url":"https://www.exploit-db.com/exploits/52475","tags":[]}],"priority":{"score":30.9,"factors":[{"name":"EPSS percentile","points":19.71},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-02-04"},"pocGithub":{"count":2,"skipped":0,"earliest":"2025-03-26","earliestUrl":"https://github.com/hakaioffsec/IngressNightmare-PoC","repos":[{"name":"hakaioffsec/IngressNightmare-PoC","url":"https://github.com/hakaioffsec/IngressNightmare-PoC","stars":248,"created":"2025-03-26"},{"name":"lufeirider/IngressNightmare-PoC","url":"https://github.com/lufeirider/IngressNightmare-PoC","stars":9,"created":"2025-03-30"}]},"nuclei":[{"id":"CVE-2025-1097","name":"Ingress-Nginx Controller - Configuration Injection via Unsanitized `auth-tls-match-cn` Annotation","severity":"high","path":"http/cves/2025/CVE-2025-1097.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-1097.yaml"}],"first":{"date":"2025-03-26","source":"PoC-in-GitHub","url":"https://github.com/hakaioffsec/IngressNightmare-PoC"},"provenance":"source"},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"kubernetes","product":"ingress-nginx","versions":["<= 1.11.4","1.12.0"]}],"capec":[{"id":"CAPEC-137","name":"Parameter Injection"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-03-27T03:55:15.070320Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"k8s.io/ingress-nginx","vulnerableRanges":["<1.11.5",">=1.12.0-beta.0, <1.12.1","all versions"],"patched":["1.11.5","1.12.1"],"from":["GHSA-823x-fv5p-h7hw","GO-2025-3565"],"provenance":"source"}],"summary":{"text":"The ingress-nginx controller from Kubernetes has a flaw in which the unsanitized auth-tls-match-cn Ingress annotation allows configuration to be injected into nginx. An attacker who can create or modify Ingress annotations, with low privileges and no user interaction, could achieve arbitrary code execution in the controller's context and read Secrets the controller can access, which by default is cluster-wide.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:27:25Z"},"euvd":{"id":"EUVD-2025-8034","exploited":false,"provenance":"source"},"exploits":[{"id":52475,"url":"https://www.exploit-db.com/exploits/52475","title":"Ingress-NGINX Admission Controller 1.11.1 - 'IngressNightmare' File Descriptor Injection / Remote Code Execution (RCE)","date":"2026-02-04","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/52475"]}