GHSA-V8J7-HP7C-738F

Vulnerability from github – Published: 2026-05-07 02:34 – Updated: 2026-05-14 20:54
VLAI
Summary
Kubetail has a Cross-Site WebSocket Hijacking issue that allows attacker to read Kubernetes logs from authenticated users
Details

Summary

Kubetail's dashboard exposes WebSocket endpoints that did not adequately validate the Origin header on connection upgrade. A malicious web page visited by a user with an active Kubetail session could open a WebSocket to the user's dashboard and read their Kubernetes logs in real time. This is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability and affects both the desktop deployment (default http://localhost:7500) and cluster deployments (typically behind an Ingress with HTTP basic auth).

Impact

An attacker who can convince an authenticated Kubetail user to visit a page they control can:

  • Establish a WebSocket connection to the victim's dashboard from the attacker's origin
  • Stream container logs the victim has access to via the Kubernetes API
  • Exfiltrate the contents to an attacker-controlled server

The attacker gains read-only access to logs — no write or destructive operations are exposed. However, container logs frequently contain credentials accidentally written by application code, bearer tokens, internal hostnames, customer PII, and other secrets, so the practical impact of read access can be significant.

The desktop deployment is particularly exposed because the dashboard is reachable at a predictable localhost URL, requires no network reachability from the attacker, and the browser will attach ambient credentials to the WebSocket handshake. For cluster deployments fronted by HTTP basic auth, the browser's automatic re-sending of basic-auth credentials on the WebSocket upgrade request enables the same attack against the configured dashboard origin.

Affected versions

Component Name Affected Patched
Kubetail Dashboard docker image kubetail-dashboard < 0.14.0 >= 0.14.0
Kubetail Helm Chart kubetail/kubetail < 0.23.0 >= 0.23.0
Kubetail CLI kubetail < 0.16.0 >= 0.16.0

Confirmed in Google Chrome. Microsoft Edge is presumed affected as it shares Chromium's WebSocket implementation, but was not directly tested.

Preconditions for exploitation

  1. The victim has an active authenticated Kubetail session (desktop dashboard running, or browser holding valid credentials for a cluster deployment).
  2. The victim visits a web page controlled by the attacker in the same browser.
  3. The attacker knows or can guess the dashboard URL (trivial for desktop; cluster deployments require knowing the Ingress hostname).

Patches

Upgrade to: * Kubetail Dashboard 0.14.0 or later * Kubetail Helm Chart 0.23.0 or later * Kubetail CLI 0.16.0 or later

Workarounds

If users cannot upgrade immediately:

  • Desktop: Stop the dashboard (kubetail CLI process) when not actively in use. Avoid visiting untrusted sites in the same browser profile while the dashboard is running.
  • Cluster: Restrict Ingress access to a VPN, bastion, or office network. Add a stronger outer authentication layer (e.g. OAuth proxy) in front of basic auth. Consider browser profile isolation for cluster admins.
Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/kubetail-org/kubetail/modules/dashboard"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.14.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/kubetail-org/kubetail/modules/cli"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.16.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-44514"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-1385"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-07T02:34:32Z",
    "nvd_published_at": "2026-05-14T17:16:23Z",
    "severity": "MODERATE"
  },
  "details": "### Summary\n\nKubetail\u0027s dashboard exposes WebSocket endpoints that did not adequately validate the Origin header on connection upgrade. A malicious web page visited by a user with an active Kubetail session could open a WebSocket to the user\u0027s dashboard and read their Kubernetes logs in real time. This is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability and affects both the desktop deployment (default http://localhost:7500) and cluster deployments (typically behind an Ingress with HTTP basic auth).\n\n### Impact\n\nAn attacker who can convince an authenticated Kubetail user to visit a page they control can:\n\n- Establish a WebSocket connection to the victim\u0027s dashboard from the attacker\u0027s origin\n- Stream container logs the victim has access to via the Kubernetes API\n- Exfiltrate the contents to an attacker-controlled server\n\nThe attacker gains **read-only** access to logs \u2014 no write or destructive operations are exposed. However, container logs frequently contain credentials accidentally written by application code, bearer tokens, internal hostnames, customer PII, and other secrets, so the practical impact of read access can be significant.\n\nThe desktop deployment is particularly exposed because the dashboard is reachable at a predictable localhost URL, requires no network reachability from the attacker, and the browser will attach ambient credentials to the WebSocket handshake.\nFor cluster deployments fronted by HTTP basic auth, the browser\u0027s automatic re-sending of basic-auth credentials on the WebSocket upgrade request enables the same attack against the configured dashboard origin.\n\n### Affected versions\n\n| Component                                    | Name                           | Affected | Patched   |\n| --------------------------------- | ---------------------- | -------- | ---------- |\n| Kubetail Dashboard docker image | `kubetail-dashboard` | \u003c 0.14.0  | \u003e= 0.14.0  |\n| Kubetail Helm Chart                       | `kubetail/kubetail`       | \u003c 0.23.0 | \u003e= 0.23.0 |\n| Kubetail CLI                                    | `kubetail`                     | \u003c 0.16.0 | \u003e= 0.16.0  |\n\nConfirmed in Google Chrome. Microsoft Edge is presumed affected as it shares Chromium\u0027s WebSocket implementation, but was not directly tested.\n\n**Preconditions for exploitation**\n\n1. The victim has an active authenticated Kubetail session (desktop dashboard running, or browser holding valid credentials for a cluster deployment).\n2. The victim visits a web page controlled by the attacker in the same browser.\n3. The attacker knows or can guess the dashboard URL (trivial for desktop; cluster deployments require knowing the Ingress hostname).\n\n### Patches\n\nUpgrade to:\n* Kubetail Dashboard 0.14.0 or later\n* Kubetail Helm Chart 0.23.0 or later\n* Kubetail CLI 0.16.0 or later\n\n### Workarounds\n\nIf users cannot upgrade immediately:\n\n* **Desktop:** Stop the dashboard (kubetail CLI process) when not actively in use. Avoid visiting untrusted sites in the same browser profile while the dashboard is running.\n* **Cluster:** Restrict Ingress access to a VPN, bastion, or office network. Add a stronger outer authentication layer (e.g. OAuth proxy) in front of basic auth. Consider browser profile isolation for cluster admins.",
  "id": "GHSA-v8j7-hp7c-738f",
  "modified": "2026-05-14T20:54:00Z",
  "published": "2026-05-07T02:34:32Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/kubetail-org/kubetail/security/advisories/GHSA-v8j7-hp7c-738f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44514"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/kubetail-org/kubetail"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Kubetail has a Cross-Site WebSocket Hijacking issue that allows attacker to read Kubernetes logs from authenticated users"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…