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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-07-15 · Modified: 2024-09-16
- Aliases: GHSA-f9xf-jq4j-vqw4, GO-2024-2768, CGA-27f3-hvcf-rc5q, CGA-35h8-gf9j-j329, CGA-62p5-qw52-52mf, CGA-72xj-hcw9-mwrx, CGA-7m6g-4vj2-hq67, CGA-7m7c-mj9r-29jh, CGA-ff4f-52vx-98q9, CGA-rpg9-p4g4-72x4
- Record: https://cvemate.com/vulnerability/CVE-2021-25318 · JSON: https://cvemate.com/vulnerability/CVE-2021-25318/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.051%, percentile 65.391%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard harvester (Chainguard): All versions (No fix recorded)
- chainguard harvester-fips (Chainguard): All versions (No fix recorded)
- chainguard harvester-fips-webhook (Chainguard): All versions (No fix recorded)
- chainguard harvester-webhook (Chainguard): All versions (No fix recorded)
- github.com/rancher rancher (Go): ≥ 2.0.0, \< 2.4.16 \| ≥ 2.5.0, \< 2.5.9 \| ≥ 2.0.0+incompatible (No fix recorded)
- rancher rancher: ≥ Rancher, \< 2.5.9 \| ≥ Rancher, \< 2.4.16 \| \< 2.4.16 \| ≥ 2.5.0, \< 2.5.9

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1184913>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25318>
- <https://github.com/rancher/rancher/issues/33590>
- <https://github.com/rancher/rancher>
- <https://pkg.go.dev/vuln/GO-2024-2768>
- <https://github.com/advisories/GHSA-f9xf-jq4j-vqw4>

---

Data as of 2026-12-05T11:28:53.352Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
