---
title: "CVE-2021-25320: Rancher cloud credentials can be used through proxy API by users without access"
url: https://erroneo.us/security/cve/CVE-2021-25320/
description: "CVE-2021-25320 (github.com/rancher/rancher (Go)): A Improper Access Control vulnerability in Rancher, allows users in the cluster to make request to cloud…"
type: vulnerability-record
section: "Security Digest"
date_published: 2021-07-15
date_modified: 2026-03-03
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2021-25320"
kev: false
cvss: 9.9
epss: 0.00855
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.9% , percentile 58: FIRST’s model estimates a 0.9% chance of exploitation activity in the next 30 days, higher than 58% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes github.com/rancher/rancher (Go) >= 2.2.0, < 2.4.16, fixed in 2.4.16 ; github.com/rancher/rancher (Go) >= 2.5.0, < 2.5.9, fixed in 2.5.9 . Check your lockfile, including transitive dependencies.

## What it is

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 packages

- Go `github.com/rancher/rancher` >= 2.2.0, < 2.4.16 → fixed: 2.4.16
- Go `github.com/rancher/rancher` >= 2.5.0, < 2.5.9 → fixed: 2.5.9

## Affected products (CVE record)

- Rancher Rancher: Rancher < 2.5.9
- Rancher Rancher: Rancher < 2.4.16

## Severity

- suse CVSS 3.1: 9.9 `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 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- FIRST EPSS (model of 2026-10-21): 0.85% probability of exploitation activity in the next 30 days; percentile 58.

## Sources

- [GitHub Advisory GHSA-gqf8-rvrh-g7w6](https://github.com/advisories/GHSA-gqf8-rvrh-g7w6)
- [CVE.org record CVE-2021-25320](https://www.cve.org/CVERecord?id=CVE-2021-25320)
- [NVD entry CVE-2021-25320](https://nvd.nist.gov/vuln/detail/CVE-2021-25320)
- [bugzilla.suse.com](https://bugzilla.suse.com/show_bug.cgi?id=1185514)
- [github.com](https://github.com/rancher/rancher/security/advisories/GHSA-gqf8-rvrh-g7w6)

---
Source page: https://erroneo.us/security/cve/CVE-2021-25320/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
