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.)
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- <= 1.11.4
- 1.12.0
- < 1.11.5
Fixed in 1.11.5
from GitHub Security Advisory GHSA-mgvx-rpfc-9mpv
- >= 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 publicationFirst 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
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
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
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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| lufeirider/IngressNightmare-PoC | 30 Mar 2025 +5.4 d | 9 | Not a PoC · unrelated |
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Ingress-NGINX 4.11.0 - Remote Code Execution (RCE) | 20 Jun 2025 | 14 Nov 2026 |
| Exploit-DB | Ingress-NGINX Admission Controller v1.11.1 - FD Injection to RCE | 4 Feb 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: Ingress-Nginx Controller - Remote Code Execution | 26 Mar 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 24 PoC reposPOST /networking/v1/ingresses
- Body markers
"apiVersion":"admission.k8s.io/v1""kind":"AdmissionReview""request"inapplication/json- Ports
- 443, 8080, 8443, 9999
- Seen in
- 7 repos: Rubby2001/CVE-2025-1974-go, aninfosec/IngressNightmare, gunyakit/CVE-2025-1974-PoC-exploit, paeyz/net_kube, rjhaikal/POC-IngressNightmare-CVE-2025-1974, seojinn0713/net_kube, yoshino-s/CVE-2025-1974
- Evidence
- Rubby2001/CVE-2025-1974-go/main.go:56 aninfosec/IngressNightmare/exploit.py:110 gunyakit/CVE-2025-1974-PoC-exploit/cve-2025-1974-exploit.py:94 paeyz/net_kube/poc/attack_chain.py:103 paeyz/net_kube/poc/comparison.py:56 paeyz/net_kube/poc/cve_2025_1974_poc.py:149
POST /admission
- Content-Type
application/json- Ports
- 443, 8080, 8443, 30080, 30443, 32043, 32080
- Seen in
- 6 repos: BiiTts/POC-IngressNightmare-CVE-2025-1974, I3r1h0n/IngressNightterror, chhhd/CVE-2025-1974, hakaioffsec/IngressNightmare-PoC, salt318/CVE-2025-1974, zwxxb/CVE-2025-1974
- Evidence
- BiiTts/POC-IngressNightmare-CVE-2025-1974/xpl.py:25 I3r1h0n/IngressNightterror/exploit/src/main.py:60 chhhd/CVE-2025-1974/poc.py:110 hakaioffsec/IngressNightmare-PoC/exploit.py:43 salt318/CVE-2025-1974/exploit.py:110 zwxxb/CVE-2025-1974/poc.py:227
POST /fake/addr
- Ports
- 443, 8080, 8443, 9443
- Seen in
- 2 repos: rjhaikal/POC-IngressNightmare-CVE-2025-1974, yoshino-s/CVE-2025-1974
- Evidence
- rjhaikal/POC-IngressNightmare-CVE-2025-1974/exploit.py:60 yoshino-s/CVE-2025-1974/exploit.py:60
GET /
- Key headers
"host:- Ports
- 8080, 8443
- Seen in
- 1 repo: zwxxb/CVE-2025-1974
- Evidence
- zwxxb/CVE-2025-1974/Lab.md:491 zwxxb/CVE-2025-1974/debug.sh:390 zwxxb/CVE-2025-1974/debug.sh:391
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.
(?i)^/networking/v1/ingresses(?:[?#].*)?$
(?i)^/admission(?:[?#].*)?$
(?i)^/fake/addr(?:[?#].*)?$
(?i)^/(?:[?#].*)?$
(?i)^/fake/path(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
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;)
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;)
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;)
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;)
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.
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
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
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
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
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