{"answers":{"affected":"7 open source packages ship an affected version, including github.com/rancher/rancher.","exploited":"There is no known exploitation of CVE-2024-22031 in the wild and no public exploit code.","fix":"Upgrade github.com/rancher/rancher to a fixed version for your release line: 2.10.5, 2.11.1 or 2.9.9.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-22031 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-22031 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/rancher/rancher (Go): affected all versions; no fix listed\n- github.com/rancher/rancher (Go): affected from 2.10.0; fixed in 2.10.5\n- github.com/rancher/rancher (Go): affected from 2.10.0; fixed in 2.10.5\n- github.com/rancher/rancher (Go): affected from 2.11.0; fixed in 2.11.1\n- github.com/rancher/rancher (Go): affected from 2.11.0; fixed in 2.11.1\n- github.com/rancher/rancher (Go): affected from 2.8.0; fixed in 2.9.9\n- github.com/rancher/rancher (Go): affected from 2.8.0; fixed in 2.9.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-22031/ (Markdown: https://insights.sbomify.com/CVE-2024-22031/index.md)","id":"CVE-2024-22031","markdown":"https://insights.sbomify.com/CVE-2024-22031/index.md","name":"CVE-2024-22031","record":{"aliases":["GHSA-8h6m-wv39-239m","GO-2025-3647"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Rancher Kubernetes management","requires_auth":"low_privilege","summary":"Users with project creation rights can escalate privileges to access arbitrary projects in other clusters by exploiting namespace naming collisions.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Rancher users who can create Projects can gain access to arbitrary projects","id":"CVE-2024-22031","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":7,"n_references":2,"next":{"headline":"Rancher's RKE1 Encryption Config kept in plain-text within cluster AppliedSpec","id":"CVE-2024-22032"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"GO-2025-3647"},{"ecosystem":"Go","fixed":["2.10.5"],"introduced":["2.10.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":null,"source":"GHSA-8h6m-wv39-239m"},{"ecosystem":"Go","fixed":["2.10.5"],"introduced":["2.10.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"GHSA-8h6m-wv39-239m"},{"ecosystem":"Go","fixed":["2.11.1"],"introduced":["2.11.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":null,"source":"GHSA-8h6m-wv39-239m"},{"ecosystem":"Go","fixed":["2.11.1"],"introduced":["2.11.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"GHSA-8h6m-wv39-239m"},{"ecosystem":"Go","fixed":["2.9.9"],"introduced":["2.8.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":null,"source":"GHSA-8h6m-wv39-239m"},{"ecosystem":"Go","fixed":["2.9.9"],"introduced":["2.8.0"],"last_affected":[],"package":"github.com/rancher/rancher","purl":"pkg:golang/github.com/rancher/rancher","source":"GHSA-8h6m-wv39-239m"}],"prev":{"headline":"Rancher agents can be hijacked by taking over the Rancher Server URL","id":"CVE-2024-22030"},"products":["rancher"],"published":"2026-10-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-16","vendors":["SUSE"]},"summary":"Users with project creation rights can escalate privileges to access arbitrary projects in other clusters by exploiting namespace naming collisions.","url":"https://insights.sbomify.com/CVE-2024-22031/"}