{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:kubernetes:nginx_ingress_controller:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:kubernetes:nginx_ingress_controller:1.15.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.13.9"
              },
              {
                "introduced": "1.14.0"
              },
              {
                "fixed": "1.14.5"
              },
              {
                "introduced": "1.15.0"
              },
              {
                "last_affected": "1.15.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "279297c6f5b86f8867a01951616ccb9513b38bc2"
            },
            {
              "introduced": "ad643baabbbf55d59c60e75330a193545aa8b788"
            },
            {
              "fixed": "0a6fadc01bd4706bc77ceaf91487345a8d03d9c0"
            },
            {
              "introduced": "e3b7b0ec0f0ba7f1609e9f374a6bf68ae7bd27bb"
            }
          ],
          "repo": "https://github.com/kubernetes/ingress-nginx",
          "type": "GIT"
        },
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:kubernetes:nginx_ingress_controller:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:kubernetes:nginx_ingress_controller:1.15.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.13.9"
              },
              {
                "introduced": "1.14.0"
              },
              {
                "fixed": "1.14.5"
              },
              {
                "introduced": "1.15.0"
              },
              {
                "last_affected": "1.15.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3e4f6a92de5f259ef313ad876bb008897f6a98f0"
            },
            {
              "introduced": "641856db18352033a0d96dbc99153fa3b27298e5"
            },
            {
              "fixed": "0e9fcb426b100a2aea5ed5c25b3d8cfbb01a8acf"
            },
            {
              "introduced": "e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529"
            }
          ],
          "repo": "https://github.com/kubernetes/kubernetes",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.15.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "kubernetes",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4342.json"
  },
  "details": "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.)",
  "id": "CVE-2026-4342",
  "modified": "2026-07-08T05:39:31.558515643Z",
  "published": "2026-03-19T21:50:17.878Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/03/19/9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4342.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4342"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kubernetes/kubernetes/issues/137893"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/kubernetes/ingress-nginx"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ingress-nginx comment-based nginx configuration injection"
}