{"id":"CVE-2021-36775","aliases":["GHSA-28g7-896h-695v","GO-2024-2760"],"title":"Rancher's Failure to delete orphaned role bindings does not revoke project level access from group based authentication","summary":"Rancher's Failure to delete orphaned role bindings does not revoke project level access from group based authentication","severity":"high","cvss":8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","vendor":"rancher","product":"github.com/rancher/rancher","ecosystem":"go","affected":["github.com/rancher/rancher < 2.4.18","github.com/rancher/rancher >= 2.5.0, < 2.5.12","github.com/rancher/rancher >= 2.6.0, < 2.6.3"],"patched":["github.com/rancher/rancher 2.4.18","github.com/rancher/rancher 2.5.12","github.com/rancher/rancher 2.6.3"],"published":"2024-04-24","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:10.943647105Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-28g7-896h-695v","references":[{"url":"https://github.com/rancher/rancher/security/advisories/GHSA-28g7-896h-695v"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36775"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1189120"},{"url":"https://github.com/rancher/rancher"}],"tags":["osv","go"],"epss":0.0097,"epssPercentile":0.59887,"ingestedAt":"2026-07-11T18:57:04.473Z","slug":"CVE-2021-36775","body":"## Overview\n\n### Impact\nThis vulnerability only affects customers using group based authentication in Rancher versions up to and including 2.4.17, 2.5.11 and 2.6.2.\n\nWhen removing a Project Role associated to a group from a project, the bindings that grant access to cluster scoped resources for those subjects do not get deleted. This happens due to an incomplete authorization logic check. A user who is a member of an affected group with authenticated access to Rancher could use this to access resources they should no longer have access to. The exposure level will depend on the original permission level granted to the affected project role.\n\n### Patches\nPatched versions include releases 2.4.18, 2.5.12, 2.6.3 and later versions.\n\n### Workarounds\nLimit access in Rancher to trusted users. There is not a direct mitigation besides upgrading to the patched Rancher versions.\n\n### References\nCluster and project roles documentation for Rancher [2.6](https://rancher.com/docs/rancher/v2.6/en/admin-settings/rbac/cluster-project-roles/), [2.5](https://rancher.com/docs/rancher/v2.5/en/admin-settings/rbac/cluster-project-roles/) and [2.4](https://rancher.com/docs/rancher/v2.0-v2.4/en/admin-settings/rbac/cluster-project-roles/).\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Reach out to [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n* Open an issue in [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n* Verify our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).\n\n## Affected packages\n\n- `github.com/rancher/rancher < 2.4.18`\n- `github.com/rancher/rancher >= 2.5.0, < 2.5.12`\n- `github.com/rancher/rancher >= 2.6.0, < 2.6.3`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/rancher/rancher 2.4.18`\n- `github.com/rancher/rancher 2.5.12`\n- `github.com/rancher/rancher 2.6.3`","depth":"twilight","depthScore":44,"depthScoreParts":{"impact":44,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}