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-5556-Kubernetes-Admission-Controller-Bypass-via-Case-Sensitivity — Exploit PoC and vulnerable admission webhook for CVE-2026-5556, demonstrating Kubernetes admission controller bypass via case-sensitive pod name comparison that allows unauthorized pod creation. | Kitploit
Tools/GitHubGitHub/george0papasotiriou/cve-2026-5556-kubernetes-admission-controller-bypass-via-case-sensitivity
Cloud Infrastructure SecurityContainer SecurityVulnerability AnalysisExploitationCloud SecurityMisconfigurationAdversarial Attack
GitHubgeorge0papasotiriou/cve-2026-5556-kubernetes-admission-controller-bypass-via-case-sensitivity

CVE-2026-5556-Kubernetes-Admission-Controller-Bypass-via-Case-Sensitivity

Exploit PoC and vulnerable admission webhook for CVE-2026-5556, demonstrating Kubernetes admission controller bypass via case-sensitive pod name comparison that allows unauthorized pod creation.

View Repository
61 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-5556 – Kubernetes Admission Controller Bypass via Case Sensitivity

Program Code (Python admission webhook + exploit)

root@kitploit:~
#!/usr/bin/env python3
# admission_webhook.py - Vulnerable webhook that rejects pods with specific name
from flask import Flask, request, jsonify

app = Flask(__name__)

DENIED_POD_NAMES = ["kube-system-svc", "admin-pod"]

@app.route('/validate', methods=['POST'])
def validate():
    req = request.get_json()
    pod_name = req["request"]["object"]["metadata"]["name"]
    # Flaw: case‑sensitive comparison
    if pod_name in DENIED_POD_NAMES:
        return jsonify({"response": {"allowed": False, "status": {"message": "Name denied"}}})
    return jsonify({"response": {"allowed": True}})

if __name__ == '__main__':
    app.run(port=443, ssl_context='adhoc')  # using self-signed cert for demo

CVE-2026-5556 – Kubernetes Admission Controller Case‑Sensitivity Bypass

Severity: High

Overview

An admission webhook that validates pod names uses case‑sensitive string matching against a deny‑list. An attacker can bypass the restriction by changing the case of the pod name, because Kubernetes treats names as case‑preserving but often performs case‑insensitive lookups, leading to unauthorized pod creation.

Vulnerability Details

  • Type: Access Control Bypass
  • Impact: Deployment of privileged or restricted pods, potential cluster compromise.
  • Root Cause: The webhook compares the pod name exactly, but the Kubernetes API may accept the same name with different case, and other components treat it as equivalent.

Exploit Demonstration

  1. Start the admission webhook:
    root@kitploit:~
    python admission_webhook.py
    
  2. Send a pod creation request with a case‑changed name:
    root@kitploit:~
    python exploit_admission_bypass.py
    
Download Tool