CVE-2021-25320 — Vulnerability in github.com/rancher/rancher — CVE...
Rancher cloud credentials can be used through proxy API by users without access
Summary
Advisory Timeline
- First published March 3, 2026 (223 days ago).
- Last revised September 10, 2026 — 191 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/rancher/rancher@v2.4.16
go get github.com/rancher/rancher@v2.5.9
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/rancher/rancher | go | All versions | 2.4.16 |
| github.com/rancher/rancher | go | All versions | 2.5.9 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-284
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2021-25320?
- Rancher cloud credentials can be used through proxy API by users without access This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2021-25320?
- CVE-2021-25320 affects github.com/rancher/rancher. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-25320 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2022-31247CRITICAL
Rancher has downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)
- CVE-2023-32196CRITICAL
Rancher allows privilege escalation in Windows nodes due to Insecure Access Control Lists
- CVE-2025-23391CRITICAL
Rancher: Restricted Administrator can change Administrator's passwords
- CVE-2021-36783CRITICAL
Rancher doesn't properly sanitize credentials in cluster template answers
- CVE-2021-36782CRITICAL
Rancher API and cluster.management.cattle.io object vulnerable to plaintext storage and exposure of credentials
- CVE-2024-22036CRITICAL
Rancher Remote Code Execution via Cluster/Node Drivers
- CVE-2024-22031HIGH
Rancher users who can create Projects can gain access to arbitrary projects
- CVE-2023-22650HIGH
Rancher does not automatically clean up a user deleted or disabled from the configured Authentication Provider
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies