/

CVE-2026-22806

Severity:

CRITICAL RISK

(9.1)

Improper Authorization in vCluster Platform

CVE-2026-22806

Awaiting Analysis

Vulnerability type

Category:

Improper Authorization

CWE:

CWE-863

Impact:

Privilege Escalation / Access Control Bypass

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

vCluster Platform contains an authorization flaw where access keys configured with a restricted scope can still be used to access resources outside that intended scope.

While the access is limited to what the key owner can normally reach, the bypass undermines scoped access controls and can expose additional Kubernetes resources in multi-tenant or shared cluster environments.

Affected context

This vulnerability appears in vCluster Platform deployments that rely on scoped access keys to enforce least-privilege access for automation, users, or integrations.

It is relevant in multi-tenant setups and cluster-sharing environments where different teams or tenants are separated by access scopes.

The issue manifests when an access key is configured with a limited scope, yet the underlying authorization logic allows the key to operate on resources beyond that scope, as long as the owning user would normally have access.

The problem does not create entirely new privileges, but it breaks the assumption that a scoped key is confined to its declared resource boundaries.

Exploit preconditions

  • Attack surface: API endpoints, management interfaces, or automation workflows that accept vCluster Platform access keys for authentication.
  • Required access: Possession or theft of a scoped access key (e.g., belonging to an automation user, service account, or human user).
  • Trigger point: Using the scoped key to interact with resources that should be outside its defined scope (for example, issuing API calls or CLI commands that target other namespaces, clusters, or tenants).
  • Why exploitation is possible: The authorization checks trust the owner's global permissions more than the declared scope on the access key, allowing requests that should be denied to be processed as long as the owner could perform them directly.

Why this happens

The core issue falls under CWE-863: Improper Authorization, where the system fails to enforce intended authorization constraints after a subject is authenticated.

Instead of treating the access key's scope as the ultimate authority for what is allowed, the authorization layer effectively evaluates permissions based on the owning user's broader rights.

This creates a mismatch between the security model promised to administrators (scoped, least-privilege keys) and the actual enforcement behavior, causing scope policies to be bypassed.

Conceptually, this is an authorization design flaw rather than a parsing or injection bug: it stems from checking "who owns the key" instead of "what the key is explicitly allowed to do."

Potential impact

  • Scoped automation or integration keys may access resources outside their intended namespaces, projects, or virtual clusters.
  • Tenants or teams could read or modify resources that administrators believed were isolated by scoped access keys.
  • Audit and compliance assumptions about restricted automation accounts can be invalidated.
  • Lateral movement within a shared or multi-tenant Kubernetes environment can be easier, as attackers pivot using over-permissive scoped keys.
  • Security controls that rely on strict scoping of access keys may provide a false sense of isolation.

General mitigation guidance

Mitigation revolves around enforcing true least-privilege and treating scoped access keys as first-class authorization entities:

  • Review all existing scoped access keys and ensure that the owning users (or automation identities) themselves are restricted to the minimal set of permissions necessary.
  • Prefer creating dedicated automation or service identities with highly constrained permissions, and issue scoped access keys only for those identities.
  • Treat scoped access keys as potentially broader than advertised until fully fixed; avoid assigning them to users with wide cluster-level permissions.
  • Use defense-in-depth authorization models: combine scoped keys with additional policy layers (e.g., Kubernetes RBAC, network policies, and admission controls) so resource access is constrained at multiple points.
  • Regularly rotate access keys and monitor their usage, limiting lifetime and exposure of any single key.
  • Codify role and scope design using principle-of-least-privilege patterns, and avoid reusing human admin identities as owners for automation keys.

How teams detect issues like this

Detection strategies can focus on both configuration inspection and behavioral monitoring:

  • Configuration review: Periodically enumerate access keys, their scopes, and the permissions of their owner accounts to flag high-privilege owners using scoped keys.
  • Policy-based checks: Implement governance rules (via policy-as-code tools, CI checks, or internal scripts) that prevent issuance of scoped keys for users with broad administrative or cluster-wide privileges.
  • Audit logging: Enable and analyze audit logs for access key usage, looking for operations that target resources outside the key's declared scope, especially for automation or integration accounts.
  • Static analysis of IaC and automation: Review infrastructure-as-code and CI/CD pipelines that embed vCluster access keys, ensuring that pipelines scoped to a single tenant or namespace are not performing global operations.
  • Anomaly detection: Use log analytics or SIEM rules to alert on cross-tenant or cross-namespace activity originating from keys expected to be tightly scoped.

Sources

SourceLink
github.comgithub.com/loft-sh/loft/security/advisories/GHSA-c539-w4ch-7wxq

Frequently asked

questions

Yes. If an attacker can obtain a scoped access key and can reach the vCluster Platform endpoints or APIs that accept it, they can attempt to access resources beyond the key's declared scope, subject to the owner's overall privileges.

No. The vulnerability does not grant privileges beyond what the owning user or automation identity already has. However, it defeats the security expectation that the scoped key is strictly limited to a reduced subset of those privileges.

Ensure that authorization is enforced based on the access key's explicit scope, not just the owner's effective permissions. Architect the authorization layer so that scopes are treated as hard boundaries, with deny-by-default semantics for operations not explicitly allowed by the key's scope.

Define and test an explicit authorization model around tokens and keys, including formal threat modeling for scopes and delegation. Use least-privilege roles for automation, enforce policy-as-code checks for key issuance, regularly review permissions and key usage logs, and include authorization regression tests in CI to verify that scoped tokens cannot exceed their intended boundaries.

Find out what's already
exploitable in your codebase.