Skip to main content
← All vulnerabilities
CVE-2025-1097GO-2025-3565GHSA-823X-FV5P-H7HW

ingress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.11.5, 1.12.1
1 on Exploit-DB, 2 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.)

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Public exploit on Exploit-DB

    EDB-52475

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • kubernetes ingress-nginx

    through 1.11.4

  • k8s.io/ingress-nginxGo

    All versions

  • k8s.io/ingress-nginxGo

    fixed in 1.11.5

  • k8s.io/ingress-nginxGo

    From 1.12.0-beta.0 · fixed in 1.12.1

References 5

GitHub · kubernetes/kubernetes

Exploit-DB

GitHub · projectdiscovery/nuclei-templates

GitHub · hakaioffsec/IngressNightmare-PoC

GitHub · lufeirider/IngressNightmare-PoC