{
  "id": "CVE-2025-1097",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-1097",
  "published_at": "2025-03-24T23:29:05.879Z",
  "title": "ingress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation",
  "vendor": "kubernetes",
  "product": "ingress-nginx",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-03-26T18:52:20Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.8,
    "repo": "hakaioffsec/IngressNightmare-PoC",
    "source": "github"
  },
  "poc_repo_count": 3,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.)",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "Esonhugh/ingressNightmare-CVE-2025-1974-exps",
      "url": "https://github.com/Esonhugh/ingressNightmare-CVE-2025-1974-exps",
      "created_at": "2025-03-26T06:43:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 98,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-10-10T14:15:46Z"
    },
    {
      "repo": "hakaioffsec/IngressNightmare-PoC",
      "url": "https://github.com/hakaioffsec/IngressNightmare-PoC",
      "created_at": "2025-03-26T18:52:20Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 248,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-02-05T02:18:05Z"
    },
    {
      "repo": "gian2dchris/ingress-nightmare-poc",
      "url": "https://github.com/gian2dchris/ingress-nightmare-poc",
      "created_at": "2025-03-29T13:52:35Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-05-20T12:25:37Z"
    },
    {
      "repo": "lufeirider/IngressNightmare-PoC",
      "url": "https://github.com/lufeirider/IngressNightmare-PoC",
      "created_at": "2025-03-30T08:32:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 9,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-08-01T09:47:18Z"
    },
    {
      "repo": "salt318/CVE-2025-1974",
      "url": "https://github.com/salt318/CVE-2025-1974",
      "created_at": "2025-04-27T05:07:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-03-23T04:04:00Z"
    },
    {
      "repo": "I3r1h0n/IngressNightterror",
      "url": "https://github.com/I3r1h0n/IngressNightterror",
      "created_at": "2025-11-02T16:24:59Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-07-30T11:20:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "kubernetes",
        "product": "ingress-nginx",
        "ranges": [
          "\u003c= 1.11.4",
          "1.12.0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "k8s.io/ingress-nginx",
        "ranges": [
          "\u003c 1.11.5"
        ],
        "fixed_in": [
          "1.11.5"
        ],
        "ecosystem": "Go",
        "advisory": "GHSA-823x-fv5p-h7hw"
      },
      {
        "vendor": "",
        "product": "k8s.io/ingress-nginx",
        "ranges": [
          "\u003e= 1.12.0-beta.0, \u003c 1.12.1"
        ],
        "fixed_in": [
          "1.12.1"
        ],
        "ecosystem": "Go",
        "advisory": "GHSA-823x-fv5p-h7hw"
      }
    ],
    "upgrade": [
      "Upgrade k8s.io/ingress-nginx to 1.11.5 or later.",
      "Upgrade k8s.io/ingress-nginx to 1.12.1 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52475",
      "source": "exploitdb",
      "title": "Ingress-NGINX Admission Controller v1.11.1 - FD Injection to RCE",
      "published_at": "2026-02-04T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-1097.yaml",
      "source": "nuclei",
      "title": "nuclei template: Ingress-Nginx Controller - Configuration Injection via Unsanitized `auth-tls-match-cn` Annotation",
      "published_at": "2025-04-09T17:22:03Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/admission",
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "I3r1h0n/IngressNightterror",
        "hakaioffsec/IngressNightmare-PoC"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "I3r1h0n/IngressNightterror/exploit/src/main.py:60",
        "hakaioffsec/IngressNightmare-PoC/exploit.py:43"
      ]
    }
  ],
  "rules": []
}
