9.9critical
Rancher: Cloud credentials can be used through proxy API by users without access
- Severity
- 9.9critical CVSS:3.1 by suse
- Exploit likelihood
- 0.85% (higher than 56% of CVEs)
- Published
- Last changed
- Assigned by
- suse
- Also known as
- GHSA-gqf8-rvrh-g7w6GO-2026-4589
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List, NVD |
| 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 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| suse | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
A vulnerability was discovered in Rancher 2.2.0 through the aforementioned patched versions, where cloud credentials weren't being properly validated through the Rancher API. Specifically through a proxy designed to communicate with cloud providers. Any Rancher user that was logged-in and aware of a cloud-credential ID that was valid for a given cloud provider, could call that cloud provider's API through the proxy API, and the cloud-credential would be attached. The exploit is limited to valid Rancher users. There is not a direct mitigation outside of upgrading to the patched Rancher versions.
Go Vulnerability Database
Rancher cloud credentials can be used through proxy API by users without access in github.com/rancher/rancher.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/rancher/rancher before v2.4.16, from v2.5.0 before v2.5.9.
NVD (es)
Una vulnerabilidad de Control de Acceso Inapropiado en Rancher, permite a usuarios del cluster hacer peticiones a los proveedores de la nube al crear peticiones con el ID de la credencial de la nube. Rancher en este caso adjuntaría las credenciales solicitadas sin más comprobaciones. Este problema afecta a: Versiones de Rancher anteriores a 2.5.9; versiones de Rancher anteriores a 2.4.16
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 | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25320 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gqf8-rvrh-g7w6 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4589 changed 2026-07-10 | CC-BY-4.0 |
| NVD | CVE-2021-25320 changed 2026-06-17 | Public domain |