HIGH · CVSS 4.0 EPSS 0.6% · 45th percentile CWE-94

CVE-2026-62284: OSAC operator: Kubeconfig credential-plugin execution and SSRF in console proxy

Published 2026-11-06 · Updated 2026-11-23 · Also known as GHSA-5w5g-j6hw-6p8f, GO-2026-6928

Summary

The OSAC operator console-proxy fails to sanitize kubeconfig data, allowing arbitrary command execution and SSRF via maliciously crafted Kubernetes Secrets. Operators running remote or auto VM cluster mode must upgrade to version 0.0.4 or apply the recommended workarounds.

Who is affected

Principals with permissions to create or modify Secrets in namespaces where the console-proxy has read access can achieve remote code execution inside the console-proxy pod by including an exec plugin stanza in the kubeconfig. A secondary vector permits server-side request forgery (SSRF) from the proxy pod using attacker-controlled server addresses. Deployments utilizing remote or auto VM cluster mode are affected, while deployments using local mode exclusively are not impacted.

Exploitability

The vulnerability requires high privileges to create or modify Kubernetes Secrets, and exploitation can be performed remotely over the network with low attack complexity and no user interaction required. The CVSS 4.0 base score is not computed in the record, the EPSS score is 0.005 with a 0.440 percentile, and CISA Known Exploited Vulnerabilities status is no.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/osac-project/osac-operator >= 0, < 0.0.4 0.0.4 go get github.com/osac-project/[email protected]

CVSS 4.0 vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Attack vectorNetwork
Attack complexityLow
Attack requirementsNone
Privileges requiredHigh
User interactionNone
Confidentiality (vulnerable system)High
Integrity (vulnerable system)High
Availability (vulnerable system)High
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

What causes CVE-2026-62284?

The console-proxy's RemoteConfigResolver parses kubeconfig data using clientcmd.RESTConfigFromKubeConfig without clearing execution or authentication providers, allowing embedded exec plugins to spawn arbitrary processes.

Are local mode deployments vulnerable?

No. Deployments using local VM cluster mode exclusively are not affected because they do not read kubeconfig Secrets.

How can I fix the vulnerability without upgrading immediately?

You can restrict Secret creation permissions in the proxy's namespace, switch to local VM cluster mode, or use an admission webhook/OPA policy to reject Secrets containing exec or auth-provider stanzas.

Original advisory description
### Impact The console-proxy's RemoteConfigResolver parses kubeconfig data from Kubernetes Secrets using clientcmd.RESTConfigFromKubeConfig without sanitizing the resulting rest.Config. A kubeconfig containing an exec plugin stanza (under users[].user.exec) is faithfully preserved. When rest.TransportFor later builds the HTTP transport for the upstream WebSocket connection, client-go invokes the exec plugin - spawning an arbitrary process as the osac-console-proxy service account. This allows remote code execution inside the console-proxy pod for any principal that can create or modify a Secret with the label osac.openshift.io/remote-cluster-kubeconfig: "true" in a namespace where the console-proxy has Secret read access (governed by its RoleBinding). A secondary vector exists via attacker-controlled clusters[].server, enabling server-side request forgery (SSRF) from within the proxy pod. Affected configurations: any deployment using remote or auto VM cluster mode (the default). Deployments using local mode exclusively are not affected, as they do not read kubeconfig Secrets. ### Patches The fix is two lines in internal/consoleproxy/config_resolver.go, applied immediately after clientcmd.RESTConfigFromKubeConfig returns: config.ExecProvider = nil config.AuthProvider = nil This is patched in `0.0.4`. Users should upgrade to the first release containing this patch once available. ### Workarounds - Restrict Secret creation in the namespace where the osac-console-proxy-secret-reader RoleBinding is deployed. Ensure only trusted principals (cluster admins, operator service accounts) can create or modify Secrets there. - Switch to local VM cluster mode (--vm-cluster-mode=local) if the KubeVirt VMs run on the same cluster as the proxy. This bypasses the Secret-based kubeconfig lookup entirely. - Use an admission webhook or OPA policy to reject Secrets containing exec: or auth-provider: stanzas in the kubeconfig data within the affected namespace.

References

Source records: GHSA-5w5g-j6hw-6p8f, GO-2026-6928 (OSV.dev) · EPSS by FIRST, 2026-11-26.