Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/ghost-bx1/consulk8s-cve-2026-110720
Authentication & AuthorizationPrivilege EscalationContainer SecurityVulnerability AnalysisExploitationPenetration TestingCloud SecurityRed Teaming
Share
GitHub
ghost-bx1/consulk8s-cve-2026-110720

ConsulK8s-CVE-2026-110720

CVE-2026-110720 - HashiCorp consul-k8s Cross-Namespace ACL Bypass PoC & Exploit

View Repository
148 minutes agoNot yet reviewed

CVE-2026-110720 - HashiCorp consul-k8s Cross-Namespace ACL Bypass

ClusterRoleBindings without namespace restrictions allow any ServiceAccount to bypass Consul ACLs in Kubernetes clusters.

  CVE-2026-110720  v3.0.0  |  consul-k8s Cross-Namespace ACL Bypass
  By Gh0st-Bx1             |  github.com/Ghost-Bx1

Python Platform Category CVSS By Gh0st-Bx1


Overview

consul-k8s (versions 0.42.0 to 2.0.4) generates ClusterRoleBindings and ServiceAccounts for Consul's internal components without restricting the binding by namespace. When global.acls.manageSystemACLs=true is enabled, a ServiceAccount created in any namespace can authenticate to the Consul server as if it were a system component, completely bypassing the ACL namespace.

Technical Details

FieldValue
CVECVE-2026-110720
CVSS9.9 (CRITICAL)
CWECWE-863 (Incorrect Authorization)
AdvisoryHCSEC-2026-50
VendorHashiCorp
Productconsul-k8s
RequiresK8s: create SA + obtain token in another namespace + network access to Consul API
DateOctober 2026

Affected Versions

VersionStatus
consul-k8s 0.42.0 - 2.0.4Vulnerable
consul-k8s >= 2.1.0Fixed
consul-k8s >= 1.8.18 (backport)Fixed

Mechanism

Cluster K8s com consul-k8s + manageSystemACLs=true
         |
         v
consul-k8s cria ClusterRoleBinding sem restricao de namespace:
  subjects:
    - kind: ServiceAccount
      name: consul-server-acl-init
      namespace: consul   <-- sem validacao de outros namespaces
         |
         v
Atacante cria namespace "evil-ns" e SA "consul-server-acl-init"
         |
         v
Atacante cria ClusterRoleBinding apontando seu SA
para o ClusterRole do Consul
         |
         v
Token do SA do atacante autentica como componente de sistema
no servidor Consul ACL
         |
         v
Acesso a: ACL tokens, service mesh policies, KV store secrets

Affected System Components

ServiceAccountPrivilege
consul-server-acl-initBootstrap ACL
consul-client-acl-initClient registration
consul-connect-inject-acl-initService mesh tokens
consul-sync-catalog-acl-initCatalog sync

Usage

PoC - Verify installation

python poc.py --check-install --namespace consul
python poc.py --list-bindings --namespace consul
python poc.py --check-acl --namespace consul

PoC - Generate bypass manifest

python poc.py --gen-sa --attacker-ns evil-ns --output /tmp/bypass.yaml
kubectl apply -f /tmp/bypass.yaml

Exploit - Check vulnerability

python exploit.py --check --namespace consul

Exploit - Run full bypass

python exploit.py --exploit --namespace consul --attacker-ns ghost-exploit-ns

Exploit - Full pipeline

python exploit.py --full-chain --namespace consul

Exploit - Extract Consul ACL token directly

# Apos obter o token K8s do SA comprometido:
python exploit.py --consul-extract <k8s-jwt-token> --namespace consul

Cleanup

python exploit.py --cleanup --attacker-ns ghost-exploit-ns

Mitigation

  • Update consul-k8s to version 2.1.0 or higher
  • Or apply backport 1.8.18 to the 1.8.x branch
  • Verify and restrict existing ClusterRoleBindings by namespace
  • Monitor the creation of ServiceAccounts with Consul component names in unexpected namespaces
# Verificar bindings vulneraveis
kubectl get clusterrolebinding -o json | jq '.items[] | select(.metadata.name | contains("consul")) | .subjects'

References

  • HashiCorp Security Advisory HCSEC-2026-50 / CVE-2026-110720
  • CybersecurityNews: HashiCorp Consul Kubernetes Vulnerability
  • consul-k8s GitHub Releases
  • CWE-863: Incorrect Authorization

Legal Notice

This repository is for educational and security research purposes. Use only in authorized environments with explicit permission. The author is not responsible for misuse.

Ghost Toolkit

ToolDescription
ghost-adActive Directory - LDAP, Kerberoasting, AS-REP Roasting, BloodHound-lite
ghost-cloudCloud Security - AWS, Azure and GCP misconfiguration scanner
ghost-fuzzWeb Fuzzing - directory brute-force, parameter fuzzing, vhost enumeration
ghost-osintOSINT - domain, email and IP intelligence from public sources
ghost-privescPrivilege Escalation - Linux privesc checker, 17 vectors, GTFOBins
ghost-reconReconnaissance - DNS, SSL, WAF, subdomain enumeration, email security
ghost-reportReporting - pentest report generator from any ghost-* JSON output
ghost-scanPort Scanner - async TCP/UDP scanner with banner grabbing and CVE correlation
ghost-shellPayload Generation - reverse shell and web shell generator, 25+ languages
ghost-sprayCredential Attacks - password spraying, stuffing, default credential testing
ghost-wifiWiFi Attacks - monitor mode, deauth, WPA/WPA2 capture, PMKID, WPS, Evil Twin

By Gh0st-Bx1

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    885
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    796
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    629
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    458
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    433
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    385

Explore all tools

Browse our collection of tools

View all tools →