Rancher: Cloud credentials can be used through proxy API by users without access
cve-program · CVE-2021-25320
PublishedA 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.
Read the publisher's advisoryeuvd · EUVD-2021-12217
PublishedA 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.
Read the publisher's advisorynvd · CVE-2021-25320
PublishedA 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.
Read the publisher's advisoryosv · GHSA-gqf8-rvrh-g7w6
PublishedA 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.
Read the publisher's advisoryosv · GO-2026-4589
PublishedRancher 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2021-25320 · CVE overview and exploitation status
cve-program · CVE-2021-25320
euvd · EUVD-2021-12217
nvd · CVE-2021-25320
osv · GHSA-gqf8-rvrh-g7w6
- https://github.com/rancher/rancher/security/advisories/GHSA-gqf8-rvrh-g7w6
- https://nvd.nist.gov/vuln/detail/CVE-2021-25320
- https://bugzilla.suse.com/show_bug.cgi?id=1185514
- https://github.com/rancher/rancher
osv · GO-2026-4589
Related changes
Linked by CVE identifierNo related changes are available here.