CVE-2025-23391 — Vulnerability in github.com/rancher/rancher
Rancher: Restricted Administrator can change Administrator's passwords
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.80%). Schedule for your next planned update.
Does your project use an affected github.com/rancher/rancher version?
Paste your go.sum to check it for CVE-2025-23391 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A vulnerability has been identified within Rancher where a Restricted Administrator can change the password of Administrators and take over their accounts.
A Restricted Administrator should be not allowed to change the password of more privileged users unless it contains the Manage Users permissions.
Rancher deployments where the Restricted Administrator role is not being used are not affected by this CVE. Please consult the associated MITRE ATT&CK - Technique - Abuse Elevation Control Mechanism for further information about this category of attack.
Patches
The fix introduces a few changes:
- If the user has a manage-users verb, the user is allowed to edit/delete users. That way the Manage Users built in role will still be able to edit ALL users.
- If the user doesn't have manage-users, just edit or delete, then there is a check to ensure that the User being edited only has rules equal to or less than the editor.
Patched versions include releases v2.8.14, v2.9.8, v2.10.4 and v2.11.0
Workarounds
Users are recommended to upgrade, as soon as possible, to a version of Rancher Manager that contains the fix. If users can't upgrade, the following are recommended:
- Limit access to Rancher Restricted Admin only to trusted users.
- Downgrade Restricted Administrators to custom roles with limited permissions.
Credits
This issue was identified and reported by Xavier Duthil from OVHcloud.
References
If you have any questions or comments about this advisory:
- Reach out to the SUSE Rancher Security team for security related inquiries.
- Open an issue in the Rancher repository.
- Verify with our support matrix and product support lifecycle.
Advisory Timeline
- First published April 1, 2025 (604 days ago).
- Last revised September 10, 2026 — 527 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/rancher/rancher@v2.8.14
go get github.com/rancher/rancher@v2.10.4
go get github.com/rancher/rancher@v2.9.8
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/rancher/rancher Go · Affected: All versions | 2.8.14 |
| github.com/rancher/rancher Go · Affected: All versions | 2.10.4 |
| github.com/rancher/rancher Go · Affected: All versions | 2.9.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-266
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2025-23391?
- Rancher: Restricted Administrator can change Administrator's passwords. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2025-23391?
- CVE-2025-23391 affects github.com/rancher/rancher. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-23391 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 53.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2023-22651CRITICAL
Rancher Webhook is misconfigured during upgrade process
- CVE-2022-31247CRITICAL
Rancher has downstream cluster privilege escalation through cluster and project role template binding (CRTB/PRTB)
- CVE-2023-32196CRITICAL
Rancher allows privilege escalation in Windows nodes due to Insecure Access Control Lists
- CVE-2024-52281HIGH
Rancher UI has Stored Cross-site Scripting vulnerability
- CVE-2024-58259HIGH
Rancher affected by unauthenticated Denial of Service
- CVE-2026-41053HIGH
Rancher has over-inclusive team membership expansion in GitHub App authentication provider
- CVE-2026-25705HIGH
Rancher Extensions have arbitrary file access via path traversal
- CVE-2024-22031HIGH
Rancher users who can create Projects can gain access to arbitrary projects