{"id":"CVE-2026-62284","aliases":["CVE-2026-62284","GHSA-5w5g-j6hw-6p8f","GO-2026-6928"],"related":[],"kind":"vulnerability","state":"published","title":"OSAC operator: Kubeconfig credential-plugin execution and SSRF in console proxy","summary":"OSAC operator is a Kubernetes operator. In the affected revision identified as 8220502, the `console-proxy` `RemoteConfigResolver` parses Kubernetes Secret kubeconfig data with `clientcmd.RESTConfigFromKubeConfig` without sanitizing the resulting `rest.Config`. An attacker who can create or modify a Secret labeled `osac.openshift.io/remote-cluster-kubeconfig`: \"true\" in a namespace where the proxy's RoleBinding grants Secret read access can supply `users[].user.exec`. When `rest.TransportFor` builds the HTTP transport for an upstream WebSocket connection, client-go invokes that exec credential plugin, spawning an arbitrary process as the osac-`console-proxy` service account inside the pod. Attacker-controlled `clusters[].server` also enables server-side request forgery from the proxy pod. Remote and auto VM cluster modes are affected, with auto the default; exclusively `local` mode does not read kubeconfig Secrets and is unaffected. The credential-plugin execution path is patched in commit 7e4222b; that patch does not address the described server-address SSRF path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OSAC operator is a Kubernetes operator. In the affected revision identified as 8220502, the `console-proxy` `RemoteConfigResolver` parses Kubernetes Secret kubeconfig data with `clientcmd.RESTConfigFromKubeConfig` without sanitizing the resulting `rest.Config`. An attacker who can create or modify a Secret labeled `osac.openshift.io/remote-cluster-kubeconfig`: \"true\" in a namespace where the proxy's RoleBinding grants Secret read access can supply `users[].user.exec`. When `rest.TransportFor` builds the HTTP transport for an upstream WebSocket connection, client-go invokes that exec credential plugin, spawning an arbitrary process as the osac-`console-proxy` service account inside the pod. Attacker-controlled `clusters[].server` also enables server-side request forgery from the proxy pod. Remote and auto VM cluster modes are affected, with auto the default; exclusively `local` mode does not read kubeconfig Secrets and is unaffected. The credential-plugin execution path is patched in commit 7e4222b; that patch does not address the described server-address SSRF path.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n 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\n  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\n  arbitrary process as the osac-console-proxy service account.\n\n  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\n  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.\n\n  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.\n\n### Patches\n\n\n  The fix is two lines in internal/consoleproxy/config_resolver.go, applied immediately after clientcmd.RESTConfigFromKubeConfig returns:\n\n  config.ExecProvider = nil\n  config.AuthProvider = nil\n\n  This is patched in `0.0.4`. Users should upgrade to the first release containing this patch once available.\n\n### Workarounds\n\n  - 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\n  Secrets there.\n  - 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.\n  - Use an admission webhook or OPA policy to reject Secrets containing exec: or auth-provider: stanzas in the kubeconfig data within the affected namespace.","format":"markdown","source":"ghsa"},{"lang":"en","text":"OSAC operator: Kubeconfig credential-plugin execution and SSRF in console proxy in github.com/osac-project/osac-operator","format":"markdown","source":"go"}],"published":"2026-10-30T19:23:39.257Z","modified":"2026-11-23T20:41:32.134Z","severity":{"scorer":"GitHub_M","scheme":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"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","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"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","rating":"HIGH"}],"cwes":["CWE-94","CWE-918"],"affected":[{"ranges":[{"version":"< 7e4222b","status":"affected"}],"vendor":"osac-project","product":"osac-operator","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.4"}],"ecosystem":"Go","package":"github.com/osac-project/osac-operator","purl":"pkg:golang/github.com/osac-project/osac-operator","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.4"}],"ecosystem":"Go","package":"github.com/osac-project/osac-operator","purl":"pkg:golang/github.com/osac-project/osac-operator","source":"go"}],"references":[{"url":"https://github.com/osac-project/osac-operator/security/advisories/GHSA-5w5g-j6hw-6p8f","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/osac-project/osac-operator/pull/321","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/osac-project/osac-operator/commit/7e4222b6ab465fc00606c8cfed980b226820cb1b","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/osac-project/osac-operator/commit/86466378aa3603253dca7fa2f59a2733af0dc092","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62284","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/osac-project/osac-operator","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-30T21:21:11.867Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62284","url":"https://www.cve.org/CVERecord?id=CVE-2026-62284","licence":"CVE Terms of Use","modified":"2026-10-30T22:15:16.751Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5w5g-j6hw-6p8f","url":"https://github.com/advisories/GHSA-5w5g-j6hw-6p8f","licence":"CC-BY-4.0","modified":"2026-11-23T20:41:32.134Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6928","url":"https://pkg.go.dev/vuln/GO-2026-6928","licence":"CC-BY-4.0","modified":"2026-11-23T20:30:11.286Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62284","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62284","licence":"Public domain","modified":"2026-11-02T19:35:33.347Z"}],"updatedAt":"2026-11-25T22:59:48.019Z","epss":{"score":0.00547,"percentile":0.47269,"date":"2026-12-01T12:00:22.000Z"}}