Exploit database

Vulnerability

CVE-2025-1974

ingress-nginx admission controller RCE escalation

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · kubernetes

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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

CVE Program

Exploit source choices

19 sources
hakaioffsec/ingressnightmare-poc
GH-113072d5f16b5b310c6c6c22a460a7a3GitHubUnofficial GitHub source

This is a PoC code to exploit the IngressNightmare vulnerabilities (CVE-2025-1097, CVE-2025-1098, CVE-2025-24514, and CVE-2025-1974).

2025-03-265 files · 249 stars
esonhugh/ingressnightmare-cve-2025-1974-exps
GH-e56cc240b1a21366615379a17b98e9d5GitHubUnofficial GitHub source

IngressNightmare POC. world first non-blind remote execution exploitation with multi-advanced exploitation methods. allow on disk exploitation. CVE-2025-24514 - auth-url injection, CVE-2025-1097 - auth-tls-match-cn injection, CVE-2025-1098 – mirror UID injection -- all available.

2025-03-2616 files · 98 stars
yoshino-s/cve-2025-1974
GH-c454744da3af54f0f213f2e243fff12aGitHubUnofficial GitHub source

yoshino-s/cve-2025-1974 source repository

2025-03-2511 files · 53 stars
lufeirider/ingressnightmare-poc
GH-9069358669c399fe669de784db88ecc1GitHubUnofficial GitHub source

IngressNightmare-PoC: (CVE-2025-1097, CVE-2025-1098, CVE-2025-24514, CVE-2025-1974) PoC ,One-click script 。 一键脚本

2025-03-302 files · 9 stars
zwxxb/cve-2025-1974
GH-2e55a0304b2c63ba36c4390f262f4a4bGitHubUnofficial GitHub source

Poc for Ingress RCE

2025-03-2615 files · 9 stars
hi-unc1e/cve-2025-1974-poc
GH-71bb0d535f0d4a32c9885c67c87cb1d6GitHubUnofficial GitHub source

PoC of CVE-2025-1974, modified from the world-first PoC~

2025-03-265 files · 4 stars
i3r1h0n/ingressnightterror
GH-bdb3d8fa3209d55339627973aa0dff71GitHubUnofficial GitHub source

My view on IngressNightmare vulnerability (CVE-2025-1974)

2025-11-0214 files · 2 stars
1w4y/ingressnightmare-rce-poc
GH-6921bf7d6fda20f7406a158b37b666d8GitHubUnofficial GitHub source

PoC for CVE-2025-1974: Critical RCE in Ingress-NGINX (<v1.12.1) via unsafe config injection. Exploitable from the pod network without credentials, enabling code execution and potential cluster takeover. Fixed in v1.12.1 and v1.11.5. For research/education only.

2025-03-262 files · 1 stars
chhhd/cve-2025-1974
GH-78551a87be6369da72504cda67ad657eGitHubUnofficial GitHub source

chhhd/cve-2025-1974 source repository

2025-04-266 files · 1 stars
rjhaikal/poc-ingressnightmare-cve-2025-1974
GH-1916ccb8fbff7c13d6fc2576c6cc0febGitHubUnofficial GitHub source

POC IngressNightmare (CVE-2025-1974), modified from https://github.com/yoshino-s/CVE-2025-1974

2025-03-2811 files · 1 stars
rubby2001/cve-2025-1974-go
GH-393c81c9405ab5f7296cdfbee974a712GitHubUnofficial GitHub source

Exploit CVE-2025-1974 with a single file.

2025-04-105 files · 1 stars
0xbingo/cve-2025-1974
GH-5cb0a17b6000bbbcf35404ce9d844ab0GitHubUnofficial GitHub source

A minimal test tool to help detect annotation injection vulnerabilities in Kubernetes NGINX Ingress controllers. This script sends a crafted AdmissionReview request to simulate a potential exploit path from CVE-2025-1974 and checks for signs of misinterpreted annotations in controller logs.

2025-03-273 files · 0 stars
aninfosec/ingressnightmare
GH-cecbdf5bc53d3f9ac0873b0ebb098960GitHubUnofficial GitHub source

aninfosec/ingressnightmare source repository

2025-06-145 files · 0 stars
boianeduard/cve-2025-1974
GH-add88563b16218ce41860ba45241ec22GitHubUnofficial GitHub source

ingress-nginx admission controller RCE escalation PoC

2026-01-077 files · 0 stars