CVE-2022-31247 — Vulnerability in github.com/rancher/rancher — CVE...
Rancher has downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)
Summary
Advisory Timeline
- First published March 3, 2026 (223 days ago).
- Last revised July 8, 2026 — 127 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/rancher/rancher@v2.6.7
go get github.com/rancher/rancher@v2.5.16
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.6.7 |
| github.com/rancher/rancher | go | All versions | 2.5.16 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2022-31247?
- Rancher has downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB) This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2022-31247?
- CVE-2022-31247 affects github.com/rancher/rancher. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31247 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-41052CRITICAL
Rancher has Privilege Escalation from Project Owner to Host
- CVE-2019-11202CRITICAL
Rancher Recreates Default User With Known Password Despite Deletion
- CVE-2024-52281HIGH
Rancher UI has Stored Cross-site Scripting vulnerability
- CVE-2024-58259HIGH
Rancher affected by unauthenticated Denial of Service
- CVE-2026-41053HIGH
Rancher has over-inclusive team membership expansion in GitHub App authentication provider
- CVE-2026-25705HIGH
Rancher Extensions have arbitrary file access via path traversal
- CVE-2024-58267HIGH
Rancher CLI SAML authentication is vulnerable to phishing attacks
- CVE-2022-45157HIGH
Exposure of vSphere's CPI and CSI credentials in Rancher
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies