# CVE-2021-25318: rancher: API group not properly specified when creating Kubernetes RBAC resources

- Severity: High 8.8 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2021-07-15T08:55:15.569Z
- Modified: 2026-09-10T03:50:11.259Z
- Also known as: GHSA-f9xf-jq4j-vqw4, GO-2024-2768
- Related: CGA-5vv3-j733-hh6j
- Weaknesses: CWE-732
- Assigned by: suse

## Description

A Incorrect Permission Assignment for Critical Resource vulnerability in Rancher allows users in the cluster to modify resources they should not have access to. This issue affects: Rancher versions prior to 2.5.9 ; Rancher versions prior to 2.4.16.

(As written by CVE List.)

## Affected

- Rancher Rancher: from Rancher before 2.5.9; from Rancher before 2.4.16; before 2.4.16; from 2.5.0 before 2.5.9
- github.com/rancher/rancher (Go): from 2.0.0 before 2.4.16; from 2.5.0 before 2.5.9; from 2.0.0+incompatible

## Every score

- suse: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1184913> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25318> (advisory)
- <https://github.com/rancher/rancher/issues/33590> (report, web)
- <https://github.com/rancher/rancher> (package)
- <https://pkg.go.dev/vuln/GO-2024-2768> (web)
- <https://github.com/advisories/GHSA-f9xf-jq4j-vqw4> (advisory)

## Sources

- CVE List: [CVE-2021-25318](https://www.cve.org/CVERecord?id=CVE-2021-25318), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-f9xf-jq4j-vqw4](https://github.com/advisories/GHSA-f9xf-jq4j-vqw4), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2768](https://pkg.go.dev/vuln/GO-2024-2768), CC-BY-4.0, modified 2026-07-10
- NVD: [CVE-2021-25318](https://nvd.nist.gov/vuln/detail/CVE-2021-25318), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25318 · Whole record: https://cve.day/CVE-2021-25318.json · Rebuilt by cve.day 2026-11-25T22:58:02.666Z
