Skip to main content

CVE-2026-25705 — Vulnerability in github.com/rancher/rancher

HIGH

Rancher Extensions have arbitrary file access via path traversal

Published May 7, 2026Updated September 10, 2026Source: OSV

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.

Check my go.sum

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 hostPath volumes 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 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.
  • The icons referenced by Cluster Repos' 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:

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
Update github.com/rancher/rancher to 2.12.9 or later
go get github.com/rancher/rancher@v2.12.9
Go
Update github.com/rancher/rancher to 2.11.13 or later
go get github.com/rancher/rancher@v2.11.13
Go
Update github.com/rancher/rancher to 2.14.1 or later
go get github.com/rancher/rancher@v2.14.1
Go
Update github.com/rancher/rancher to 2.13.5 or later
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).

PackageFixed In
github.com/rancher/rancher Go · Affected: All versions2.12.9
github.com/rancher/rancher Go · Affected: All versions2.11.13
github.com/rancher/rancher Go · Affected: All versions2.14.1
github.com/rancher/rancher Go · Affected: All versions2.13.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

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

CVSS Score
8.4

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.49%
EPSS percentile: 34.7

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

GHSA-5v3h-x4wf-5c35
GO-2026-5154

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum