# CVE-2021-25320: Rancher: Cloud credentials can be used through proxy API by users without access

- Severity: Critical 9.9 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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): 0.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-07-15T08:55:17.141Z
- Modified: 2026-09-10T03:50:39.311Z
- Also known as: GHSA-gqf8-rvrh-g7w6, GO-2026-4589
- Related: CGA-4f5q-4hf7-932v
- Weaknesses: CWE-284
- Assigned by: suse

## Description

A Improper Access Control vulnerability in Rancher, allows users in the cluster to make request to cloud providers by creating requests with the cloud-credential ID. Rancher in this case would attach the requested credentials without further checks 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.2.0 before 2.4.16; from 2.5.0 before 2.5.9; from 2.2.0+incompatible

## Every score

- suse: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1185514> (issue-tracking, third-party-advisory, web)
- <https://github.com/rancher/rancher/security/advisories/GHSA-gqf8-rvrh-g7w6> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25320> (advisory)
- <https://github.com/rancher/rancher> (package)

## Sources

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

---

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