ZeroHour

CVE-2026-71404

large

Improper ownership check in Rancher Manager lets users overwrite ClusterRoles

CVSS 3.1
8.7 high
EPSS
<1%p17
Published
()
Modified
AI analysis

Rancher Manager's GlobalRole controller takes the name of the ClusterRole it manages from the user-settable `authz.management.cattle.io/cr-name` annotation and overwrites that ClusterRole's rules without verifying ownership of the object (CWE-639, authorization bypass through user-controlled key). A user who has been granted delegated GlobalRole create or update permission can set this annotation to point at any existing ClusterRole — including the built-in `cluster-admin` — causing Rancher to rewrite its rules. The attacker gains the ability to revoke the permissions of every principal bound to the targeted ClusterRole, yielding high integrity and availability impact across the managed scope; because the rewritten rules persist even after the malicious GlobalRole is deleted, the damage is not automatically undone. All Rancher deployments running versions before 2.15.1 are affected. No public proof-of-concept is known, the issue is not in CISA's KEV, and EPSS estimates only a 0.3% probability of exploitation within 30 days.

What to do: Upgrade Rancher to 2.15.1 or later. Until patched, restrict which users hold delegated GlobalRole create/update permissions and audit existing GlobalRoles for the `authz.management.cattle.io/cr-name` annotation. Verify whether built-in ClusterRoles such as `cluster-admin` have unexpectedly modified rules and restore them manually, since changes persist after the malicious GlobalRole is deleted.

Affected
SUSE Rancher Managerbefore 2.15.1 (< 2.15.1)
Estimated exposure
largeon the order of 10,000–100,000 Rancher server deployments (estimate; exact count unknown) — Rancher is one of the most widely adopted multi-cluster Kubernetes management platforms, and public internet scans routinely find thousands of exposed Rancher servers with many more deployed internally-only; the subset running vulnerable…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in Rancher Manager. The GlobalRole controller derived the target ClusterRole name from the user-settable `authz.management.cattle.io/cr-name` annotation and overwrote that object's rules without verifying ownership. A user with delegated GlobalRole create or update permission could point the annotation at any existing ClusterRole, such as `cluster-admin`, and revoke the permissions of every principal bound to it. The change persists after the malicious GlobalRole is deleted. This issue affects Rancher: before 2.15.1.

Weakness
CWE-639
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H

In the news

No ingested article mentions this CVE yet.