NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-25705: Rancher Extensions have arbitrary file access via path traversal

highCVSS 3.1 8.4GHSA-5v3h-x4wf-5c35

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 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:

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 entries