{"id":"CVE-2023-32199","aliases":["CVE-2023-32199","GHSA-j4vr-pcmw-hx59","GO-2025-4073"],"related":[],"kind":"vulnerability","state":"published","title":"Rancher user retains access to clusters despite Global Role removal","summary":"A vulnerability has been identified within Rancher \nManager, where after removing a custom GlobalRole that gives \nadministrative access or the corresponding binding, the user still \nretains access to clusters. This only affects custom Global Roles that have a * on * in * rule for resources or have a * on * rule for non-resource URLs","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability has been identified within Rancher \nManager, where after removing a custom GlobalRole that gives \nadministrative access or the corresponding binding, the user still \nretains access to clusters. This only affects custom Global Roles that have a * on * in * rule for resources or have a * on * rule for non-resource URLs","source":"cvelist"},{"lang":"en","text":"### Impact\nA vulnerability has been identified within Rancher Manager, where after removing a custom GlobalRole that gives administrative access or the corresponding binding, the user still retains access to clusters.\nThis only affects custom Global Roles that:\n- Have a `*` on `*` in `*` rule for resources\n- Have a `*` on `*` rule for non-resource URLs\n\nFor example\n```yaml\napiVersion: management.cattle.io/v3\nkind: GlobalRole\nmetadata:\n  name: custom-admin\nrules:\n  - apiGroups:\n      - '*'\n    resources:\n      - '*'\n    verbs:\n      - '*'\n  - nonResourceURLs:\n      - '*'\n    verbs:\n      - '*'\n```\n\nSpecifically:\n- When a user is bound to a custom admin `GlobalRole`, a corresponding `ClusterRoleBinding` is created on all clusters that binds them to the cluster-admin `ClusterRole`.\n- When such a `GlobalRole` or the `GlobalRoleBinding` (e.g., when the user is unassigned from this role in UI) is deleted, the `ClusterRoleBinding` that binds them to the cluster-admin ClusterRole stays behind.\n\nThis issue allows a user to continue having access to clusters after they have been unassigned from the custom admin global role or the role has been deleted.\n\nPlease consult the associated  [MITRE ATT&CK - Technique - Account Access Removal](https://attack.mitre.org/techniques/T1531/) for further information about this category of attack.\n\n### Patches\nThis vulnerability is addressed by removing the corresponding `ClusterRoleBindings` whenever the admin `GlobalRole` or its `GlobalRoleBindings` are deleted. Previously orphaned `ClusterRoleBindings` are marked with the annotation `authz.cluster.cattle.io/admin-globalrole-missing=true` and should be deleted manually.\n\nOrphaned ClusterRoleBindings can be listed with:\n```\nkubectl get clusterrolebinding -o jsonpath='{range .items[?(@.metadata.annotations.authz\\.cluster\\.cattle\\.io/admin-globalrole-missing==\"true\")]}{.metadata.name}{\"\\n\"}{end}'\n```\n\nPatched versions of Rancher include releases `v2.12.3`, `v2.11.7`.\n\nComplications with the restricted admin functionality prevented the patches from being included in `v2.10` and `v2.9`.\n\n### Workarounds\nIf the deployment can't be upgraded to a fixed version, users are advised to manually identify the orphaned `ClusterRoleBindings` and remove them.\n\n### References\nIf you have any questions or comments about this advisory:\n- Contact the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n- Verify with our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).","format":"markdown","source":"ghsa"},{"lang":"en","text":"Rancher user retains access to clusters despite Global Role removal in github.com/rancher/rancher","format":"markdown","source":"go"}],"published":"2025-10-24T15:06:51.000Z","modified":"2026-06-17T05:58:17.897Z","severity":{"scorer":"suse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"suse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-281"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.0.0-20251014212116-7faa74a968c2","status":"affected"}],"vendor":"SUSE","product":"rancher","package":"github.com/rancher/rancher","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20251014212116-7faa74a968c2"}],"ecosystem":"Go","package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20251014212116-7faa74a968c2"}],"ecosystem":"Go","package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"go"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-32199","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rancher/rancher/security/advisories/GHSA-j4vr-pcmw-hx59","tags":["advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32199","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rancher/rancher/pull/52303","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/rancher/rancher","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"suse","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-29T15:13:25.439Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-32199","url":"https://www.cve.org/CVERecord?id=CVE-2023-32199","licence":"CVE Terms of Use","modified":"2025-10-29T15:26:02.274Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j4vr-pcmw-hx59","url":"https://github.com/advisories/GHSA-j4vr-pcmw-hx59","licence":"CC-BY-4.0","modified":"2025-11-05T19:57:34.632Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4073","url":"https://pkg.go.dev/vuln/GO-2025-4073","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:04.985Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-32199","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32199","licence":"Public domain","modified":"2026-06-17T05:58:17.897Z"}],"updatedAt":"2026-11-25T22:58:35.031Z","epss":{"score":0.00319,"percentile":0.17259,"date":"2026-11-30T12:00:22.000Z"}}