{"id":"CVE-2026-25705","aliases":["GHSA-5v3h-x4wf-5c35","GO-2026-5154"],"title":"Rancher Extensions have arbitrary file access via path traversal","summary":"Rancher Extensions have arbitrary file access via path traversal","severity":"high","cvss":8.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","vendor":"rancher","product":"github.com/rancher/rancher","ecosystem":"go","affected":["github.com/rancher/rancher >= 2.14.0, < 2.14.1","github.com/rancher/rancher >= 2.13.0, < 2.13.5","github.com/rancher/rancher >= 2.12.0, < 2.12.9","github.com/rancher/rancher >= 2.10.11, < 2.11.13"],"patched":["github.com/rancher/rancher 2.14.1","github.com/rancher/rancher 2.13.5","github.com/rancher/rancher 2.12.9","github.com/rancher/rancher 2.11.13"],"published":"2026-05-07","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:51:04.822837838Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-5v3h-x4wf-5c35","references":[{"url":"https://github.com/rancher/rancher/security/advisories/GHSA-5v3h-x4wf-5c35"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25705"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-25705"},{"url":"https://github.com/rancher/rancher"}],"tags":["osv","go"],"epss":0.00369,"epssPercentile":0.30713,"ingestedAt":"2026-09-12T03:13:01.756Z","slug":"CVE-2026-25705","body":"## Overview\n\n### Impact\n\nA vulnerability has been identified in [Rancher's Extensions](https://ranchermanager.docs.rancher.com/integrations-in-rancher/rancher-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:\n\n- Overwrite Rancher binaries or configuration to inject code.\n- Write to `/var/lib/rancher/` to tamper with cluster state.\n- If `hostPath` volumes are mounted, write to the host node filesystem.\n- Use this issue to chain with other attack vectors.\n\nBy 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.\n\nPlease consult the associated  [MITRE CAPEC-126 - Technique - Path Traversal](https://capec.mitre.org/data/definitions/126.html) for further information about this category of attack.\n\n### Patches\n\nThis vulnerability is addressed by ensuring that:\n\n- The file defined by the UI Plugin CR's `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. \n- The icons referenced by Cluster Repos' `index.yaml` file always resolves to a file inside the repository directory.\n\nPatched versions of Rancher include releases v2.14.1, v2.13.5, v2.12.9, v2.11.13.\n\n### Workarounds\n\nThere is no workaround. The user must be careful about which UI Plugins they install.\n\n### Resources\n\nIf there are any questions or comments about this advisory:\n\n- Reach out to the [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.\n- Open an issue in the [Rancher](https://github.com/rancher/rancher/issues/new/choose) repository.\n- Verify with the [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).\n\n## Affected packages\n\n- `github.com/rancher/rancher >= 2.14.0, < 2.14.1`\n- `github.com/rancher/rancher >= 2.13.0, < 2.13.5`\n- `github.com/rancher/rancher >= 2.12.0, < 2.12.9`\n- `github.com/rancher/rancher >= 2.10.11, < 2.11.13`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/rancher/rancher 2.14.1`\n- `github.com/rancher/rancher 2.13.5`\n- `github.com/rancher/rancher 2.12.9`\n- `github.com/rancher/rancher 2.11.13`","depth":"twilight","depthScore":46,"depthScoreParts":{"impact":46.2,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}