GPU VulnDB

Database/Container, Kubernetes & orchestration

OSAC operator: unsanitized kubeconfig Secret runs an exec credential plugin as the console-proxy pod

CVSS 8.6CVE-2026-62284Container, Kubernetes & orchestrationcurated

Impact

The console-proxy parses kubeconfig data out of a Kubernetes Secret with clientcmd.RESTConfigFromKubeConfig and never sanitizes the resulting rest.Config. A kubeconfig containing users[].user.exec therefore makes client-go spawn an attacker-chosen process inside the proxy pod, running as the osac-console-proxy service account, the moment a transport is built for an upstream WebSocket connection. That is arbitrary code execution with the proxy's in-cluster identity and whatever its service account can reach. A second path remains open: an attacker-controlled clusters[].server turns the proxy into an SSRF relay into the cluster network, which on a GPU cluster includes management and fabric endpoints that are normally unreachable from a tenant workload. Remote and auto VM cluster modes are affected and auto is the default; a deployment running exclusively in local mode does not read kubeconfig Secrets and is unaffected.

Who can reach it

An authenticated principal able to create or modify a Secret labeled osac.openshift.io/remote-cluster-kubeconfig=true in a namespace where the proxy's RoleBinding grants it Secret read access. Requires existing namespace write access, not an unauthenticated network position.

What to do

Take commit 7e4222b (or the release carrying it) and roll the operator and console-proxy deployment - a pod restart, no node drain. Note that patch closes only the credential-plugin execution path; the attacker-controlled server-address SSRF path is not addressed, so also narrow which namespaces and principals can write Secrets carrying that label, and switch cluster mode to local where remote access is not required. No fixed version number is published in the record beyond that commit.

References

Related entries

All Container, Kubernetes & orchestration entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.