CVE-2026-25705: Rancher Extensions have arbitrary file access via path traversal
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.
Published May 7, 2026 · Updated May 16, 2026
Affected packages
github.com/rancher/rancher
- Ecosystem
- Go
- Affected
- >= 2.14.0, < 2.14.1
- Fixed in
- 2.14.1
- Check
go list -m github.com/rancher/rancher
github.com/rancher/rancher
- Ecosystem
- Go
- Affected
- >= 2.13.0, < 2.13.5
- Fixed in
- 2.13.5
- Check
go list -m github.com/rancher/rancher
github.com/rancher/rancher
- Ecosystem
- Go
- Affected
- >= 2.12.0, < 2.12.9
- Fixed in
- 2.12.9
- Check
go list -m github.com/rancher/rancher
github.com/rancher/rancher
- Ecosystem
- Go
- Affected
- >= 2.10.11, < 2.11.13
- Fixed in
- 2.11.13
- Check
go list -m github.com/rancher/rancher
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to KoreaSecurity, Proscan-one.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-41052
Rancher has Privilege Escalation from Project Owner to Host
critical8.4Jul 1, 2026CVE-2026-41053
Rancher has over-inclusive team membership expansion in GitHub App authentication provider
high8.8Jul 1, 2026CVE-2026-44939
Rancher vulnerable to command injection through unsanitized YAML parameter
critical9.6Jul 1, 2026CVE-2021-25320
Rancher cloud credentials can be used through proxy API by users without access
critical9.9Mar 3, 2026CVE-2021-36783
Rancher doesn't properly sanitize credentials in cluster template answers
critical9.9Mar 3, 2026CVE-2022-21951
Rancher's weave CNI password is not configured when a cluster is created from an RKE template
medium6.8Mar 3, 2026
