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

Published Jul 15, 2021
·
Updated

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.

Other sources

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.

GitHub

Affected Software

4 affected componentsFixes available
Rancher Rancher<2.4.16
Rancher Rancher>=2.5.0<2.5.9
go/github.com/rancher/rancher>=2.5.0<2.5.9
2.5.9
go/github.com/rancher/rancher>=2.2.0<2.4.16
2.4.16

Event History

Jul 15, 2021
CVE Published
via MITRE·08:55 AM
Data Sourced
via MITRE·08:55 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeaknessAffected Software
Mar 3, 2026
Advisory Published
via GitHub·02:52 PM
Data Sourced
via GitHub·02:52 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-25320?

CVE-2021-25320 is an Improper Access Control vulnerability in Rancher that allows users to make requests to cloud providers by creating requests with the cloud-credential ID.

2

What versions of Rancher are affected by CVE-2021-25320?

Rancher versions prior to 2.5.9 and versions up to 2.4.16 are affected by CVE-2021-25320.

3

What is the severity of CVE-2021-25320?

CVE-2021-25320 has a severity keyword of 'critical' and a severity value of 9.9.

4

How can I fix CVE-2021-25320?

To fix CVE-2021-25320, users should update Rancher to version 2.5.9 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203