CVE-2024-22031 Rancher users who can create Projects can gain access to arbitrary projects
Users with project creation rights can escalate privileges to access arbitrary projects in other clusters by exploiting namespace naming collisions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-22031?
CVE-2024-22031 is a high-severity vulnerability in SUSE rancher, published on 15 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been identified within Rancher where a user with the ability to create a project, on a certain cluster, can create a project with the same name as an existing project in a different cluster. This results in the user gaining access to the other project in the different cluster, resulting in a privilege escalation. This happens because the namespace used on the local cluster to store related resources (PRTBs and secrets) is the name of the project.
Weakness: CWE-863
Which versions are affected by CVE-2024-22031?
7 open source packages ship an affected version, including github.com/rancher/rancher.
| Package | Affected | Fixed in |
|---|---|---|
github.com/rancher/rancher Go | All versions | None |
github.com/rancher/rancher Go | From 2.10.0 | 2.10.5 |
github.com/rancher/rancher Go | From 2.10.0 | 2.10.5 |
github.com/rancher/rancher Go | From 2.11.0 | 2.11.1 |
github.com/rancher/rancher Go | From 2.11.0 | 2.11.1 |
github.com/rancher/rancher Go | From 2.8.0 | 2.9.9 |
1 more packages
github.com/rancher/rancher Go | From 2.8.0 | 2.9.9 |
How do I fix CVE-2024-22031?
Upgrade github.com/rancher/rancher to a fixed version for your release line: 2.10.5, 2.11.1 or 2.9.9.
Is CVE-2024-22031 being exploited?
There is no known exploitation of CVE-2024-22031 in the wild and no public exploit code.
Sources
Also known as GHSA-8h6m-wv39-239m, GO-2025-3647.