CVE-2026-25705 — Vulnerability in github.com/rancher/rancher
Rancher Extensions have arbitrary file access via path traversal
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.49%). 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-2026-25705 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 in Rancher's Extensions where malicious code can be injected in Rancher through a path traversal in the compressedEndpoint field inside a UIPlugin deployment. A malicious UI extension could abuse that to:
- Overwrite Rancher binaries or configuration to inject code.
- Write to
/var/lib/rancher/to tamper with cluster state. - If
hostPathvolumes are mounted, write to the host node filesystem. - Use this issue to chain with other attack vectors.
By default only the administrator can deploy UI extensions, unless permissions are granted to other users. It's always recommended to only install extensions that come from sources trusted by the user.
Please consult the associated MITRE CAPEC-126 - Technique - Path Traversal for further information about this category of attack.
Patches
This vulnerability is addressed by ensuring that:
- The file defined by the UI Plugin CR's
compressedEndpointhas to be created inside the cache directory and cannot contain../. If that is not possible, the installation will fail and the file won't be created. - The icons referenced by Cluster Repos'
index.yamlfile always resolves to a file inside the repository directory.
Patched versions of Rancher include releases v2.14.1, v2.13.5, v2.12.9, v2.11.13.
Workarounds
There is no workaround. The user must be careful about which UI Plugins they install.
Resources
If there are 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 the support matrix and product support lifecycle.
Advisory Timeline
- First published May 7, 2026 (203 days ago).
- Last revised September 10, 2026 — 126 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/rancher/rancher@v2.12.9
go get github.com/rancher/rancher@v2.11.13
go get github.com/rancher/rancher@v2.14.1
go get github.com/rancher/rancher@v2.13.5
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/rancher/rancher Go · Affected: All versions | 2.12.9 |
| github.com/rancher/rancher Go · Affected: All versions | 2.11.13 |
| github.com/rancher/rancher Go · Affected: All versions | 2.14.1 |
| github.com/rancher/rancher Go · Affected: All versions | 2.13.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-35
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.4 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-25705?
- Rancher Extensions have arbitrary file access via path traversal. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.4/10).
- How do I check if my project is affected by CVE-2026-25705?
- CVE-2026-25705 affects github.com/rancher/rancher. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25705 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 34.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-44939CRITICAL
Rancher vulnerable to command injection through unsanitized YAML parameter
- CVE-2023-22647CRITICAL
Rancher vulnerable to Privilege Escalation via manipulation of Secrets
- CVE-2026-41052CRITICAL
Rancher has Privilege Escalation from Project Owner to Host
- CVE-2019-11202CRITICAL
Rancher Recreates Default User With Known Password Despite Deletion
- CVE-2025-67601HIGH
Rancher CLI skips TLS verification on Rancher CLI login command
- CVE-2025-23389HIGH
Rancher does not Properly Validate Account Bindings in SAML Authentication Enables User Impersonation on First Login
- CVE-2024-58267HIGH
Rancher CLI SAML authentication is vulnerable to phishing attacks
- CVE-2022-45157HIGH
Exposure of vSphere's CPI and CSI credentials in Rancher