# CVE-2021-36782: Rancher API and cluster.management.cattle.io object vulnerable to plaintext storage and exposure of credentials

Source: https://junglewise.ai/threats/cve-2021-36782-rancher-api-and-cluster-management-cattle-io-object-vulnerable-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-23  
License: CC BY 4.0 with a link back

CVE-2021-36782 · Severity: low · CVSS 3.1 · Published 2022-09-23

Rancher API and cluster.management.cattle.io object vulnerable to plaintext storage and exposure of credentials

Technologies: [github.com/rancher/rancher (Go)](https://junglewise.ai/threats/technologies/github-com-rancher-rancher). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2021-36782 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-36782 being exploited in the wild.

**How severe is CVE-2021-36782?** Low severity, with a CVSS score of 3.1, published 23 September 2022.

**Which products and versions are affected?** github.com/rancher/rancher (Go) SEMVER:introduced=2.5.0,fixed=2.5.16.

**Is there a fix for CVE-2021-36782?** Yes. github.com/rancher/rancher (Go): upgrade to 2.5.16 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-36782?** Check whether you run github.com/rancher/rancher (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/rancher/rancher (Go): upgrade to 2.5.16 or later

  ```sh
  go get github.com/rancher/rancher@v2.5.16
  ```


## Affected products

- github.com/rancher/rancher (Go) SEMVER:introduced=2.5.0,fixed=2.5.16

## Identifiers

- CVE-2021-36782
- GHSA-g7j7-h4q8-8w2f

## Related threats

- [Rancher privilege escalation via project name collision](https://junglewise.ai/threats/cve-2024-22031-rancher-users-who-can-create-projects-can-gain-access-to)
- [SUSE Rancher privilege escalation in GitHub App authentication provider](https://junglewise.ai/threats/cve-2026-41053-suse-rancher-privilege-escalation-in-github-app-authentication)
- [SUSE Rancher privilege escalation in Project Owner role](https://junglewise.ai/threats/cve-2026-41052-suse-rancher-privilege-escalation-in-project-owner-role)
- [SUSE Rancher command injection in cluster import endpoint](https://junglewise.ai/threats/cve-2026-44939-suse-rancher-command-injection-in-cluster-import-endpoint)
- [SUSE Rancher path traversal in UI Extensions](https://junglewise.ai/threats/cve-2026-25705-suse-rancher-path-traversal-in-ui-extensions)
