# CVE-2022-31247: Rancher has downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)

Source: https://junglewise.ai/threats/cve-2022-31247-rancher-has-downstream-cluster-privilege-escalation-through  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-03  
License: CC BY 4.0 with a link back

CVE-2022-31247 · Severity: low · CVSS 3.1 · Published 2026-03-03

Rancher has downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)

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

**How severe is CVE-2022-31247?** 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.16.

**Is there a fix for CVE-2022-31247?** 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-2022-31247?** 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-2022-31247
- GHSA-6x34-89p7-95wg

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