Loading HuntDB...

GHSA-c85r-fwc7-45vc

GitHub Security Advisory

Rancher permissions on 'namespaces' in any API group grants 'edit' permissions on namespaces in 'core'

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

### Impact
A vulnerability has been identified when granting a `create` or `*` **global role** for a resource type of "namespaces"; no matter the API group, the subject will receive `*` permissions for core namespaces. This can lead to someone being capable of accessing, creating, updating, or deleting a namespace in the project. This includes reading or updating a namespace in the project so that it is available in other projects in which the user has the "manage-namespaces" permission or updating another namespace in which the user has normal "update" permissions to be moved into the project.

The expected behavior is to not be able to create, update, or delete a namespace in the project or move another namespace into the project since the user doesn't have any permissions on namespaces in the core API group.

Moving a namespace to another project could lead to leakage of secrets, in case the targeted project has secrets. And also can lead to the namespace being able to abuse the resource quotas of the targeted project.

### Patches
Patched versions include releases `2.6.14`, `2.7.10` and `2.8.2`.

### Workarounds
There is no direct mitigation besides updating Rancher to a patched version.

### References
If you have any questions or comments about this advisory:

- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security-related inquiries.
- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.
- 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/).

Affected Packages

Go github.com/rancher/rancher
Affected versions: 2.6.0 (fixed in 2.6.14)
Go github.com/rancher/rancher
Affected versions: 2.7.0 (fixed in 2.7.10)
Go github.com/rancher/rancher
Affected versions: 2.8.0 (fixed in 2.8.2)

Related CVEs

Key Information

GHSA ID
GHSA-c85r-fwc7-45vc
Published
February 8, 2024 6:43 PM
Last Modified
May 23, 2025 7:52 PM
CVSS Score
7.5 /10
Primary Ecosystem
Go
Primary Package
github.com/rancher/rancher
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 27, 2025 6:19 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.