Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2026-24514-Kubernetes-Dos — Proof-of-concept exploit for CVE-2026-24514, a memory exhaustion denial-of-service in ingress-nginx validating admission webhook, allowing low-privileged attackers to crash controller pods via oversized AdmissionReview requests. | Kitploit
Tools/GitHubGitHub/mbanyamer/cve-2026-24514-kubernetes-dos
Container SecurityVulnerability AnalysisExploitationWeb SecurityCloud Security
GitHubmbanyamer/cve-2026-24514-kubernetes-dos

cve-2026-24514-Kubernetes-Dos

Proof-of-concept exploit for CVE-2026-24514, a memory exhaustion denial-of-service in ingress-nginx validating admission webhook, allowing low-privileged attackers to crash controller pods via oversized AdmissionReview requests.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
6 months agoNot yet reviewed

Author CVE-2026-24514 Severity CVSS v3.1 CWE-770 Exploit Type Published

CVE-2026-24514 – Critical Memory Exhaustion in ingress-nginx Validating Admission Webhook

Unauthenticated / low-privileged remote denial-of-service vulnerability allowing attackers to crash ingress-nginx controller pods via oversized AdmissionReview requests.

Overview & Business Impact

The ingress-nginx validating admission webhook (when enabled) does not enforce reasonable limits on the size of incoming AdmissionReview objects.
An attacker who can reach the webhook endpoint — even with only low privileges — can submit extremely large JSON payloads, forcing the controller process to allocate massive amounts of memory.

Consequences include:

  • Immediate OOM termination (OOMKilled) of ingress-nginx pods
  • Loss of admission validation for new/modified Ingress resources
  • Temporary or prolonged disruption of new ingress traffic routing
  • Potential cascading effects: node memory pressure, pod evictions, cluster instability in resource-constrained environments
  • In worst-case multi-tenant clusters: impact on unrelated namespaces and workloads

CVSS v3.1 Base Score
6.5 Medium
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness
CWE-770: Allocation of Resources Without Limits or Throttling

Credits
Mohammed Idrees Banyamer – @banyamer_security (Jordan)

Affected Versions

ComponentVulnerable VersionsFixed VersionsWebhook Enabled By Default?
ingress-nginx< 1.13.7≥ 1.13.7No
ingress-nginx (1.14.x)< 1.14.3≥ 1.14.3No

Note: The vulnerability only manifests when the validating admission webhook feature is explicitly enabled.

📊 PoC Attack Flow

root@kitploit:~
sequenceDiagram
    participant Attacker as Low-priv. Attacker<br>(inside / adjacent cluster)
    participant API as kube-apiserver
    participant WebhookConfig as ValidatingWebhookConfiguration<br>(ingress-nginx-admission)
    participant AdmissionSvc as ingress-nginx-admission<br>Service / Pod
    participant Controller as ingress-nginx Controller Process

    Note over Attacker,Controller: Attack prerequisites: webhook enabled + reachable endpoint

    Attacker->>API: 1. Create/Update large Ingress resource<br>OR direct POST to webhook endpoint
    API->>WebhookConfig: 2. Trigger admission review
    WebhookConfig->>AdmissionSvc: 3. Forward AdmissionReview v1 request<br>(very large JSON body)

    AdmissionSvc->>Controller: 4. Receive & begin parsing huge payload
    activate Controller
    Note right of Controller: No request body size limit in vulnerable versions
    Controller-->>Controller: 5. Allocate memory for large strings/objects<br>(heap grows massively → OOM imminent)
    Controller->>AdmissionSvc: 6. (Fails / hangs due to memory exhaustion)
    deactivate Controller

    Kubernetes->>AdmissionSvc: 7. kubelet detects memory limit breach
    Kubernetes->>AdmissionSvc: 8. OOMKill container
    AdmissionSvc-->>API: 9. Webhook timeout / connection refused
    API-->>Attacker: 10. Admission denied or timeout<br>(Ingress creation fails)

    Note over Attacker,Kubernetes: Result:
    Note over Attacker,Kubernetes: • ingress-nginx pod restarted / crashed
    Note over Attacker,Kubernetes: • Temporary loss of ingress validation
    Note over Attacker,Kubernetes: • Potential brief service disruption for new ingresses
    Note over Attacker,Kubernetes: • Possible node pressure in low-memory clusters

Exploitation – Usage Examples

Important: This vulnerability should only be demonstrated in isolated lab/test clusters with explicit permission.
Running this against production environments is illegal and may cause outages.

Recommended safe testing method:

root@kitploit:~
# 1. Port-forward the admission service locally
kubectl port-forward svc/ingress-nginx-controller-admission \
  8443:443 -n ingress-nginx

# 2. Run PoC with increasing payload sizes (start small!)
python3 cve-2026-24514-Kubernetes.py https://localhost:8443/validate 25 --insecure

# 3. Monitor memory & pod status in another terminal
watch -n 2 'kubectl top pods -n ingress-nginx && kubectl get pods -n ingress-nginx'

# More aggressive examples (use with caution)
python3 cve-2026-24514-Kubernetes.py https://localhost:8443/validate 80 --insecure
python3 cve-2026-24514-Kubernetes.py https://localhost:8443/validate 150 --insecure --field-name enormousJunk

Realistic attack scenarios:

  • Attacker inside the cluster (compromised pod / developer access) → direct internal DNS call
  • Exposed webhook service due to misconfiguration (LoadBalancer / NodePort)
  • Social engineering / supply-chain attack delivering malicious Ingress manifests with huge annotations / fields

Mitigation & Hardening Recommendations

  1. Upgrade immediately to ingress-nginx ≥ 1.13.7 or ≥ 1.14.3
  2. If upgrade is delayed:
    • Disable the validating admission webhook (--enable-validating-webhook=false)
    • Restrict network access to the admission service using NetworkPolicy
  3. Monitor ingress-nginx pods for abnormal memory usage / restarts
  4. Consider resource quotas + memory limits on ingress-nginx namespace
  5. Audit who can reach internal webhook endpoints

References

  • Official issue (assumed): https://github.com/kubernetes/ingress-nginx/issues/136680
  • ingress-nginx security advisories: https://kubernetes.github.io/ingress-nginx/security/
  • Project repository: https://github.com/kubernetes/ingress-nginx
  • NVD CVE entry: https://nvd.nist.gov/vuln/detail/CVE-2026-24514

Responsible disclosure & PoC credit: Mohammed Idrees Banyamer (@banyamer_security)

Download Tool