CVE-2026-53487
## Summary Authenticated Kite users with any role can request `/api/v1/overview` for a cluster that their roles do not permit by selecting that cluster with `x-cluster-name`. The overview route is registered before `middleware.RBACMiddleware()` and `GetOverview` only checks `len(user.Roles) > 0`, so it returns aggregate Kubernetes inventory and capacity data from unauthorized clusters. The issue is present on current main commit `38c9bb9d4b746c0d2a8252f3c35cdfa07ab01c21` and latest release `v0.12.2` at commit `0aae35abb2d6a8adf623fe60349261aa48753ccc`. ## Impact A low-privileged user who only has access to one cluster can set `x-cluster-name` to another configured cluster and retrieve aggregate inventory and resource sizing data for that cluster. The response includes total node, pod, namespace, service, CPU, and memory values. This bypasses the cluster membership boundary used elsewhere in Kite. The validated impact is confidentiality only. I did not prove Kubernetes mutation, pod names, secret values, kubeconfig contents, or bearer token exposure through this endpoint. ## Technical details `routes.go` registers `/api/v1/overview` before the global RBAC middleware is applied: - `routes.go:131-133`: `/api/v1` gets `RequireAuth()` and `ClusterMiddleware(cm)`. - `routes.go:135`: `/api/v1/overview` is registered. - `routes.go:171`: `api.Use(middleware.RBACMiddleware())` is applied only after overview and several other routes are registered. `pkg/middleware/cluster.go:21-40` accepts the target cluster name from `x-cluster-name`, query, or cookie and injects the matching `ClientSet` without checking whether the user can access that cluster. `pkg/system/handler.go:47-52` retrieves the selected cluster and user, but only rejects users with zero roles: ```go cs := c.MustGet("cluster").(*cluster.ClientSet) user := c.MustGet("user").(model.User) if len(user.Roles) == 0 { c.JSON(http.StatusForbidden, gin.H{"error": "Access denied"}) return } ``` It then lis
Properties
- ghsa_id
- GHSA-gvhc-wv3v-7pf8
- severity
- medium
- summary
- Kite has an authenticated cluster RBAC bypass in /api/v1/overview
- cvss_score
- 4.3
- cve_id
- CVE-2026-53487
- cvss_vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- is_ghsa_only
- false
- ghsa_published
- 2026-07-07T23:40:35Z
- source_url
- https://github.com/advisories/GHSA-gvhc-wv3v-7pf8
- ghsa_updated
- 2026-07-07T23:40:36Z
Related Entities (4)
VULNERABLE_TO (1)
AFFECTS (1)
HAS_WEAKNESS (1)
REPORTED_BY (1)
Explore deeper with Ninja Signal's threat intelligence graph