PoC Monitor
← All CVEs
CVE-2025-1974published 24 Mar 2025 23:28 UTCData: JSON · API

Kubernetes ingress-nginx

ingress-nginx admission controller RCE escalation

A security issue was discovered in Kubernetes where under certain conditions, an unauthenticated attacker with access to the pod network can achieve arbitrary code execution in the context of the ingress-nginx controller. This can lead to disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)

First public PoC 14 hafter publication · 25 Mar 2025
Public PoCs2724 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-653
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

kubernetes ingress-nginx
  • <= 1.11.4
  • 1.12.0
k8s.io/ingress-nginx (Go)
  • < 1.11.5

Fixed in 1.11.5

from GitHub Security Advisory GHSA-mgvx-rpfc-9mpv

k8s.io/ingress-nginx (Go)
  • >= 1.12.0-beta.0, < 1.12.1

Fixed in 1.12.1

from GitHub Security Advisory GHSA-mgvx-rpfc-9mpv

Mitigation

Upgrade k8s.io/ingress-nginx to 1.11.5 or later.

Upgrade k8s.io/ingress-nginx to 1.12.1 or later.

Workaround

Before applying the patch, this issue can be mitigated by disabling the Validating Admission Controller functionality of ingress-nginx.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published24 Mar 2025 · t = 0First public PoC25 Mar 2025 · t+14h

First public PoC 14 h after publication; not in CISA KEV. First PoC: yoshino-s/CVE-2025-1974 (created 25 Mar 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

24 PoCs · 2 pending · 6 informational · 1 not a PoC · 2 suspicious or fake

PoCs 24
RepositoryCreatedFound by usStarsAssessment
sandumjacob/IngressNightmare-POCs 24 Mar 2025 −2 h backfilled 91 PoC older repo: PoC date unknown, not used for the first PoC
yoshino-s/CVE-2025-1974 25 Mar 2025 +14 h backfilled 53 PoC
dttuss/IngressNightmare-RCE-POC 26 Mar 2025 +1.4 d backfilled 1 PoC via PoC Index
zwxxb/CVE-2025-1974 26 Mar 2025 +1.6 d backfilled 9 PoC
hi-unc1e/CVE-2025-1974-poc 26 Mar 2025 +1.7 d backfilled 4 PoC
hakaioffsec/IngressNightmare-PoC 26 Mar 2025 +1.8 d backfilled 248 PoC via PoC Index
0xBingo/CVE-2025-1974 27 Mar 2025 +2.2 d backfilled 0 PoC
rjhaikal/POC-IngressNightmare-CVE-2025-1974 28 Mar 2025 +3.7 d backfilled 1 PoC
gian2dchris/ingress-nightmare-poc 29 Mar 2025 +4.6 d backfilled 0 PoC via PoC Index
zulloper/CVE-2025-1974 31 Mar 2025 +6.4 d backfilled 0 PoC
Rubby2001/CVE-2025-1974-go 10 Apr 2025 +16 d backfilled 1 PoC
chhhd/CVE-2025-1974 26 Apr 2025 +32 d backfilled 1 PoC
salt318/CVE-2025-1974 27 Apr 2025 +33 d backfilled 0 PoC
abrewer251/CVE-2025-1974_IngressNightmare_PoC 6 May 2025 +43 d backfilled 0 PoC
aninfosec/IngressNightmare 14 Jun 2025 +82 d backfilled 0 PoC
BiiTts/POC-IngressNightmare-CVE-2025-1974 10 Aug 2025 +139 d backfilled 0 PoC
I3r1h0n/IngressNightterror 2 Nov 2025 +223 d backfilled 2 PoC via PoC Index
gunyakit/CVE-2025-1974-PoC-exploit 10 Dec 2025 +260 d backfilled 0 PoC
zsxen/CVE-2025-1974 6 Apr 2026 +1.0 y backfilled 0 PoC
zsxen/cve-2025-1974-lab 6 Apr 2026 +1.0 y backfilled 0 PoC
paeyz/net_kube 9 Apr 2026 +1.0 y backfilled 0 PoC
seojinn0713/net_kube 5 May 2026 +1.1 y backfilled 0 PoC
Ghost-Bx1/cve-2025-1974-ingress-nginx-rce 1 Nov 2026 +1.6 y 14 Nov 2026 0 PoC
dundun93/cve_2025_1974_poc 10 Nov 2026 +1.6 y 14 Nov 2026 0 PoC
Pending 2
RepositoryCreatedStarsAssessment
B1ack4sh/Blackash-CVE-2025-1974 unknown 0 Pending · repository unavailable (HTTP 404)
Rickerd12/exploit-cve-2025-1974 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 6
RepositoryCreatedStarsAssessment
yanmarques/CVE-2025-1974 25 Mar 2025 +19 h 0 Informational · write-up
1w4y/IngressNightmare-RCE-POC 26 Mar 2025 +1.4 d 1 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

m-q-t/ingressnightmare-detection-poc 26 Mar 2025 +1.7 d 0 Informational · detection
tuladhar/ingress-nightmare 27 Mar 2025 +2.8 d 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Armand2002/Exploit-CVE-2025-1974-Lab 14 Jul 2025 +112 d 0 Informational · write-up
iteride/CVE-2025-1974 23 Sep 2025 +183 d 0 Informational · write-up
Not a PoC 1
RepositoryCreatedStarsAssessment
lufeirider/IngressNightmare-PoC 30 Mar 2025 +5.4 d 9 Not a PoC · unrelated
Suspicious or fake 2
RepositoryCreatedStarsAssessment
Esonhugh/ingressNightmare-CVE-2025-1974-exps 26 Mar 2025 +1.3 d 98 Fake
BoianEduard/CVE-2025-1974 7 Jan 2026 +289 d 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
Exploit-DBIngress-NGINX 4.11.0 - Remote Code Execution (RCE)20 Jun 202514 Nov 2026
Exploit-DBIngress-NGINX Admission Controller v1.11.1 - FD Injection to RCE4 Feb 202614 Nov 2026
nuclei templatenuclei template: Ingress-Nginx Controller - Remote Code Execution26 Mar 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 24 PoC repos

POST /fake/path

Content-Type
application/json
Ports
1337
Seen in
1 repo: sandumjacob/IngressNightmare-POCs
Evidence
sandumjacob/IngressNightmare-POCs/CVE-2025-1974/README.md:122

POST /test

Content-Type
application/json
Seen in
1 repo: zulloper/CVE-2025-1974
Evidence
zulloper/CVE-2025-1974/exploit.py:75

POST /validate

Content-Type
application/json
Ports
8443
Seen in
1 repo: 0xBingo/CVE-2025-1974
Evidence
0xBingo/CVE-2025-1974/main.py:25

Regex

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

POST /networking/v1/ingresses
(?i)^/networking/v1/ingresses(?:[?#].*)?$
POST /admission
(?i)^/admission(?:[?#].*)?$
POST /fake/addr
(?i)^/fake/addr(?:[?#].*)?$
GET /
(?i)^/(?:[?#].*)?$
POST /fake/path
(?i)^/fake/path(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /networking/v1/ingresses
alert http any any -> $HOME_NET [443,8080,8443,9999] (msg:"GG PoC-Monitor CVE-2025-1974 kubernetes ingress-nginx exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/networking/v1/ingresses"; http.request_body; content:"|22|apiVersion|22|:|22|admission.k8s.io/v1|22|"; http.request_body; content:"|22|kind|22|:|22|AdmissionReview|22|"; http.request_body; content:"|22|request|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-1974; classtype:web-application-attack; sid:9731390; rev:1;)
POST /admission
alert http any any -> $HOME_NET [443,8080,8443,30080,30443,32043,32080] (msg:"GG PoC-Monitor CVE-2025-1974 kubernetes ingress-nginx exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admission"; reference:url,poc.griffinguard.io/cve/CVE-2025-1974; classtype:web-application-attack; sid:9280177; rev:1;)
POST /fake/addr
alert http any any -> $HOME_NET [443,8080,8443,9443] (msg:"GG PoC-Monitor CVE-2025-1974 kubernetes ingress-nginx exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/fake/addr"; reference:url,poc.griffinguard.io/cve/CVE-2025-1974; classtype:web-application-attack; sid:9111657; rev:1;)
GET /
alert http any any -> $HOME_NET [8080,8443] (msg:"GG PoC-Monitor CVE-2025-1974 kubernetes ingress-nginx exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header_names; content:"|22|host"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-1974; classtype:web-application-attack; sid:9132064; rev:1;)
POST /fake/path
alert http any any -> $HOME_NET [1337] (msg:"GG PoC-Monitor CVE-2025-1974 kubernetes ingress-nginx exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/fake/path"; reference:url,poc.griffinguard.io/cve/CVE-2025-1974; classtype:web-application-attack; sid:9699273; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /networking/v1/ingresses
title: kubernetes ingress-nginx exploit attempt (CVE-2025-1974)
id: gg-pocmon-cve-2025-1974-9731390
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-1974. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-1974
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/networking/v1/ingresses'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.1974
POST /admission
title: kubernetes ingress-nginx exploit attempt (CVE-2025-1974)
id: gg-pocmon-cve-2025-1974-9280177
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-1974. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-1974
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/admission'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.1974
POST /fake/addr
title: kubernetes ingress-nginx exploit attempt (CVE-2025-1974)
id: gg-pocmon-cve-2025-1974-9111657
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-1974. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-1974
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/fake/addr'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.1974
GET /
title: kubernetes ingress-nginx exploit attempt (CVE-2025-1974)
id: gg-pocmon-cve-2025-1974-9132064
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-1974. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-1974
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.1974
POST /fake/path
title: kubernetes ingress-nginx exploit attempt (CVE-2025-1974)
id: gg-pocmon-cve-2025-1974-9699273
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-1974. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-1974
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/fake/path'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.1974