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/abraxas/cve-2026-130007-k8smcp-sse-noauth
Container SecurityVulnerability AnalysisExploitationPenetration TestingCloud SecurityAuthenticationLabs & Practice
GitHub
Share
abraxas/cve-2026-130007-k8smcp-sse-noauth

cve-2026-130007-k8smcp-sse-noauth

Differential lab reproducing CVE-2026-130007: unauthenticated MCP tools/call over k8s-mcp-server's SSE transport, with pinned vulnerable and patched builds as controls.

View Repository
16h 1m agoNot yet reviewed

Abraxas Labs - CVE-2026-130007

CVE-2026-130007 - k8s-mcp-server missing authentication on SSE transport

Differential lab for GHSA-m932-63jc-4jqq / CVE-2026-130007: k8s-mcp-server <= 1.0.25 runs its default SSE transport on 0.0.0.0:8080 with no authentication, no session-token validation and no Origin check. GET /sse mints a correlation sessionId for anyone; POST /message?sessionId=... dispatches MCP tools/call requests with the server's Kubernetes cluster privileges. Read-only mode is off by default, so the registered tool set includes deleteResource, helmUninstall, rolloutRestart and friends. CWE-306. CVSS 4.0 7.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H. Patched in 1.1.0.

Recorded result

RESULT vuln-build             pass  k8s-mcp-server v1.0.25 commit=64421d06eb05
RESULT fixed-build            pass  k8s-mcp-server v1.1.0 commit=3e4f918103ed
RESULT vuln-bind              pass  LISTEN *:18099 - all interfaces, no auth option exists
RESULT vuln/sse-noauth        pass  GET /sse 200, sessionId minted with zero auth headers
RESULT vuln/initialize        pass  POST /message HTTP 202
RESULT vuln/tools-list        pass  POST /message HTTP 202
RESULT vuln/origin-ignored    pass  POST with Origin: https://evil.example HTTP 202
RESULT vuln/write-tools       pass  22 tools enumerated, write tools: createResource, createResourceYAML, deleteResource, helmInstall, helmRollback, helmUninstall, helmUpgrade, rolloutRestart
RESULT vuln/tools-call        pass  handler executed: in-handler cluster error 'dial tcp 127.0.0.1:1 connection refused' - RPC passed every gate
RESULT fixed-failclosed       pass  refuses to start: 'MCP_AUTH_TOKEN must contain at least 32 characters for HTTP transports'
RESULT fixed-401              pass  GET /sse HTTP 401 (unauthorized), POST /message HTTP 401
SUCCESS CVE-2026-130007 k8s-mcp-server missing-auth-on-sse unauthenticated tools/call dispatched to the Kubernetes tool handler on the vulnerable build; the patched build fails closed without a token and answers 401 without one

Recorded on macOS arm64, Go 1.27.4, Python 3.14. No Docker, no cluster.

The discriminator, and why it is honest

tools/call getAPIResources against a dummy non-routable cluster (KUBERNETES_SERVER=https://127.0.0.1:1) returns HTTP 202 and then, over the SSE stream, the JSON-RPC error failed to retrieve API resources: Get "https://127.0.0.1:1/api"...: dial tcp 127.0.0.1:1: connect: connection refused.

That error text is the proof. An authentication gate answers 401/403 at the HTTP layer before the handler runs. A dispatched RPC reaches the tool handler, which then fails on its own cluster connection - which is exactly what the lab observes. The RPC passed every gate the server has. With a live kubeconfig, the same request returns real cluster data; the lab never connects to one.

What the lab does

  • Builds both binaries from the pinned upstream tags (v1.0.25, v1.1.0), verifying each tag's commit before compiling. Binary identity is re-checked at runtime via go version -m.
  • Starts the vulnerable server with a dummy cluster target, confirms it binds all interfaces (LISTEN *:PORT), then drives a complete MCP session over the wire with zero credentials and a hostile Origin header: initialize, notifications/initialized, tools/list, tools/call.
  • Asserts the enumerated tool list contains the destructive write tools.
  • Runs the two patched-build controls: 1.1.0 without MCP_AUTH_TOKEN refuses to start in HTTP mode at all (fail closed), and 1.1.0 with a token answers 401 Unauthorized (WWW-Authenticate: Bearer) to unauthenticated requests.

Run

python3 cve-2026-130007-k8smcp-sse-noauth-Abraxas-Labs.py

or directly:

cd lab && ./run.sh

Requires Go (brew install go), git, curl, lsof. The first run clones the upstream repository and compiles both versions (about a minute). The cluster target is always the non-routable https://127.0.0.1:1; nothing is sent to any cluster.

Remediation

Upgrade to 1.1.0, which requires MCP_AUTH_TOKEN (32+ characters) for HTTP transports, validates Origin, binds to 127.0.0.1 by default and defaults to stdio. If you cannot upgrade: firewall the port, run stdio mode, or put an authenticating proxy in front. Turn on read-only mode if you do not need write operations.

References

  • GHSA-m932-63jc-4jqq
  • NVD entry
  • v1.1.0 release notes
  • CWE-306
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

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

    923
  • 2

    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.

    923
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    694
  • 4

    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.

    463
  • 5

    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.

    411
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    390

Explore all tools

Browse our collection of tools

View all tools →