PoC Monitor
← All CVEs
CVE-2026-4342published 19 Mar 2026 21:50 UTCData: JSON · API

Kubernetes ingress-nginx

ingress-nginx comment-based nginx configuration injection

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

First public PoC 16 hafter publication · 20 Mar 2026
Public PoCs11 on GitHub
CVSS8.8high · scored by CNA · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Kubernetes ingress-nginx
  • < 1.13.9
  • < 1.14.5
  • < 1.15.1

Fixed in 1.13.9, 1.14.5, 1.15.1

Mitigation

Upgrade ingress-nginx to 1.13.9 or 1.14.5 or 1.15.1 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Mar 2026 · t = 0First public PoC20 Mar 2026 · t+16h

First public PoC 16 h after publication; not in CISA KEV. First PoC: stuartMoorhouse/CVE-2026-4342 (created 20 Mar 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
stuartMoorhouse/CVE-2026-4342 20 Mar 2026 +16 h 2 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /_read_secrets

Query
namespace=default name=test-secret-default namespace=kube-system name=test-secret-system namespace=target-ns name=test-secret-target
Seen in
1 repo: stuartMoorhouse/CVE-2026-4342
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

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /_rce_output
(?i)^/_rce_output(?:[?#].*)?$
GET /_read_secrets
(?i)^/_read_secrets\?(?:.*&)?namespace=default.*name=test-secret-default.*namespace=kube-system.*name=test-secret-system.*namespace=target-ns.*name=test-secret-target

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /_rce_output
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-4342 Kubernetes ingress-nginx exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/_rce_output"; reference:url,poc.griffinguard.io/cve/CVE-2026-4342; classtype:web-application-attack; sid:9195420; rev:1;)
GET /_read_secrets
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-4342 Kubernetes ingress-nginx exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/_read_secrets"; http.uri; content:"namespace=default"; http.uri; content:"name=test-secret-default"; http.uri; content:"namespace=kube-system"; http.uri; content:"name=test-secret-system"; http.uri; content:"namespace=target-ns"; http.uri; content:"name=test-secret-target"; reference:url,poc.griffinguard.io/cve/CVE-2026-4342; classtype:web-application-attack; sid:9849608; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /_rce_output
title: Kubernetes ingress-nginx exploit attempt (CVE-2026-4342)
id: gg-pocmon-cve-2026-4342-9195420
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-4342. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-4342
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/_rce_output'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.4342
GET /_read_secrets
title: Kubernetes ingress-nginx exploit attempt (CVE-2026-4342)
id: gg-pocmon-cve-2026-4342-9849608
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-4342. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-4342
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/_read_secrets'
    cs-uri-query|contains|all:
      - 'namespace=default'
      - 'name=test-secret-default'
      - 'namespace=kube-system'
      - 'name=test-secret-system'
      - 'namespace=target-ns'
      - 'name=test-secret-target'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.4342