GHSA-c534-2w9c-x7fm
JSON

6.5medium

Kite Kubernetes proxy path traversal allows authenticated users to bypass RBAC and read cluster-wide resources

Severity
6.5medium CVSS:3.1 by GitHub
Published
Last changed
Also known as
GO-2026-6105

Description

Summary

Kite versions 0.6.9 through 0.14.0 authorize Kubernetes proxy requests against the pod or service identified by the original route parameters. Encoded path traversal segments can cause the upstream URL to resolve to a different Kubernetes API endpoint after authorization.

Impact

An authenticated user with get permission on pods or services in one namespace can cause Kite to issue GET requests to Kubernetes API endpoints outside that namespace using Kite's service account.

With Kite's default Helm RBAC configuration, this allows cluster-wide resource disclosure, including Secrets. The validated impact is confidentiality only; resource modification and denial of service were not demonstrated.

Deployments using a restricted Kite service account are affected only up to the permissions granted to that service account.

Technical details

The authorization check is performed against the original namespace and kind route parameters. The proxy path is subsequently decoded and passed to url.JoinPath, which resolves .. segments and can produce an upstream URL outside the authorized pod or service proxy prefix.

Two input locations were affected:

  1. Encoded traversal segments in the proxy catch-all path.
  2. Encoded traversal and slash characters in the resource name.

Reproduction

  1. Create a user with a role granting only pods:get in namespace default.
  2. Create any pod in default (e.g. nginx).
  3. Send the following request (auth cookie required):
curl --path-as-is --cookie "auth_token=<JWT>" \
  'http://<kite-host>/api/v1/_clusters/<cluster>/namespaces/default/pods/nginx/proxy/%2e%2e/%2e%2e/%2e%2e/%2e%2e/kube-system/secrets'

Patches

Fixed in Kite 0.14.1.

Workarounds

Upgrade to 0.14.1 or later.

If upgrading is temporarily impossible, reject encoded dot segments and encoded slashes at the reverse proxy and restrict Kite's Kubernetes service account permissions. Reverse-proxy normalization should not be treated as a permanent fix.

Affected

Product or packageVersionsReported by
github.com/zxh326/kite (Go)from 0.6.9 before 0.14.1GitHub Advisory Database, Go Vulnerability Database

Classification

What each source says

GitHub Advisory Database

Summary

Kite versions 0.6.9 through 0.14.0 authorize Kubernetes proxy requests against the pod or service identified by the original route parameters. Encoded path traversal segments can cause the upstream URL to resolve to a different Kubernetes API endpoint after authorization.

Impact

An authenticated user with get permission on pods or services in one namespace can cause Kite to issue GET requests to Kubernetes API endpoints outside that namespace using Kite's service account.

With Kite's default Helm RBAC configuration, this allows cluster-wide resource disclosure, including Secrets. The validated impact is confidentiality only; resource modification and denial of service were not demonstrated.

Deployments using a restricted Kite service account are affected only up to the permissions granted to that service account.

Technical details

The authorization check is performed against the original namespace and kind route parameters. The proxy path is subsequently decoded and passed to url.JoinPath, which resolves .. segments and can produce an upstream URL outside the authorized pod or service proxy prefix.

Two input locations were affected:

  1. Encoded traversal segments in the proxy catch-all path.
  2. Encoded traversal and slash characters in the resource name.

Reproduction

  1. Create a user with a role granting only pods:get in namespace default.
  2. Create any pod in default (e.g. nginx).
  3. Send the following request (auth cookie required):
curl --path-as-is --cookie "auth_token=<JWT>" \
  'http://<kite-host>/api/v1/_clusters/<cluster>/namespaces/default/pods/nginx/proxy/%2e%2e/%2e%2e/%2e%2e/%2e%2e/kube-system/secrets'

Patches

Fixed in Kite 0.14.1.

Workarounds

Upgrade to 0.14.1 or later.

If upgrading is temporarily impossible, reject encoded dot segments and encoded slashes at the reverse proxy and restrict Kite's Kubernetes service account permissions. Reverse-proxy normalization should not be treated as a permanent fix.

Go Vulnerability Database

Kite Kubernetes proxy path traversal allows authenticated users to bypass RBAC and read cluster-wide resources in github.com/zxh326/kite

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-c534-2w9c-x7fm changed 2026-08-18CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6105 changed 2026-08-18CC-BY-4.0