{
  "id": "CVE-2026-4342",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-4342",
  "published_at": "2026-03-19T21:50:17.878Z",
  "title": "ingress-nginx comment-based nginx configuration injection",
  "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": "2026-03-20T14:17:41Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.7,
    "repo": "stuartMoorhouse/CVE-2026-4342",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A security issue was discovered in ingress-nginx where a combination of Ingress annotations 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",
  "cpes": [
    "cpe:2.3:a:kubernetes:nginx_ingress_controller:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:kubernetes:nginx_ingress_controller:1.15.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 8.8
  },
  "repos": [
    {
      "repo": "stuartMoorhouse/CVE-2026-4342",
      "url": "https://github.com/stuartMoorhouse/CVE-2026-4342",
      "created_at": "2026-03-20T14:17:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-10-30T10:01:10Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Kubernetes",
        "product": "ingress-nginx",
        "ranges": [
          "\u003c 1.13.9",
          "\u003c 1.14.5",
          "\u003c 1.15.1"
        ],
        "fixed_in": [
          "1.13.9",
          "1.14.5",
          "1.15.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ingress-nginx to 1.13.9 or 1.14.5 or 1.15.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/_rce_output",
      "protocol": "http",
      "repos": [
        "stuartMoorhouse/CVE-2026-4342"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "stuartMoorhouse/CVE-2026-4342/scripts/exploit.sh:62"
      ]
    },
    {
      "method": "GET",
      "path_template": "/_read_secrets",
      "query_markers": [
        "namespace=default",
        "name=test-secret-default",
        "namespace=kube-system",
        "name=test-secret-system",
        "namespace=target-ns",
        "name=test-secret-target"
      ],
      "protocol": "http",
      "repos": [
        "stuartMoorhouse/CVE-2026-4342"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "stuartMoorhouse/CVE-2026-4342/scripts/exploit.sh:101",
        "stuartMoorhouse/CVE-2026-4342/scripts/exploit.sh:115",
        "stuartMoorhouse/CVE-2026-4342/scripts/exploit.sh:118"
      ]
    }
  ],
  "rules": []
}
