CVE-2024-22031 Rancher users who can create Projects can gain access to arbitrary projects

High 8.5 Published Updated

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.

PackageAffectedFixed in
github.com/rancher/rancher GoAll versionsNone
github.com/rancher/rancher GoFrom 2.10.02.10.5
github.com/rancher/rancher GoFrom 2.10.02.10.5
github.com/rancher/rancher GoFrom 2.11.02.11.1
github.com/rancher/rancher GoFrom 2.11.02.11.1
github.com/rancher/rancher GoFrom 2.8.02.9.9
1 more packages
github.com/rancher/rancher GoFrom 2.8.02.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.

Is CVE-2024-22031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free