# CVE-2021-36783: Rancher doesn't properly sanitize credentials in cluster template answers

Source: https://junglewise.ai/threats/cve-2021-36783-rancher-doesn-t-properly-sanitize-credentials-in-cluster-template  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-03  
License: CC BY 4.0 with a link back

CVE-2021-36783 · Severity: low · CVSS 3.1 · Published 2026-03-03

Rancher doesn't properly sanitize credentials in cluster template answers

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-36783 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-36783 being exploited in the wild.

**How severe is CVE-2021-36783?** Low severity, with a CVSS score of 3.1, published 3 March 2026.

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

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

**Am I affected by CVE-2021-36783?** 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.13 or later

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


## Affected products

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

## Identifiers

- CVE-2021-36783
- GHSA-8w87-58w6-hfv8

## 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)
