github.com/rancher/rancher
Affected
- introduced
2.14.0, fixed2.14.1(semver)
Fixed versions
2.14.1
Fix
- Fixed version
2.14.1go get github.com/rancher/[email protected]
Advisory
Also known as: CVE-2026-25705, GO-2026-5154
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:
/var/lib/rancher/ to tamper with cluster state.hostPath volumes are mounted, write to the host node filesystem.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:
compressedEndpoint has 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. index.yaml file 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:
High Basis: The source's own band: HIGH
2.14.0, fixed 2.14.1 (semver)2.14.1
2.14.1go get github.com/rancher/[email protected]2.13.0, fixed 2.13.5 (semver)2.13.5
2.13.5go get github.com/rancher/[email protected]2.12.0, fixed 2.12.9 (semver)2.12.9
2.12.9go get github.com/rancher/[email protected]2.10.11, fixed 2.11.13 (semver)2.11.13
2.11.13go get github.com/rancher/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0