Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rancher/rancher
  4. ›
  5. CVE-2026-25705

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

May 7, 2026

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.

References

  • github.com/advisories/GHSA-5v3h-x4wf-5c35
  • github.com/rancher/rancher
  • github.com/rancher/rancher/security/advisories/GHSA-5v3h-x4wf-5c35
  • nvd.nist.gov/vuln/detail/CVE-2026-25705

Code Behaviors & Features

Detect and mitigate CVE-2026-25705 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.10.11 before 2.11.13, all versions starting from 2.12.0 before 2.12.9, all versions starting from 2.13.0 before 2.13.5, all versions starting from 2.14.0 before 2.14.1

Fixed versions

  • 2.14.1
  • 2.13.5
  • 2.12.9
  • 2.11.13

Solution

Upgrade to versions 2.11.13, 2.12.9, 2.13.5, 2.14.1 or above.

Impact 8.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-35: Path Traversal: '.../...//'

Source file

go/github.com/rancher/rancher/CVE-2026-25705.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:20:47 +0000.