Skip to main content

Rancher CVE-2026-25705

HIGH
Path Traversal: '.../...//' (CWE-35)
2026-05-07 https://github.com/rancher/rancher GHSA-5v3h-x4wf-5c35
8.4
CVSS 3.1 · Vendor: https://github.com/rancher/rancher
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain admin credentials
  2. Delivery
    Craft malicious UI Plugin with traversal payload
  3. Exploit
    Social engineer admin to install extension
  4. Install
    Path traversal writes to critical paths
  5. C2
    Overwrite binaries or cluster state
  6. Execute
    Achieve code execution or privilege escalation
  7. Impact
    Compromise managed Kubernetes clusters

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path traversal prevention
Exploitation Conditions

Exploitation requires Rancher administrator-level privileges (or custom RBAC role with UI Plugin deployment permissions) and user interaction to install the malicious extension via the Rancher Extensions interface. The vulnerability is specific to deployments using Rancher's UI Plugin extension mechanism (https://ranchermanager.docs.rancher.com/integrations-in-rancher/rancher-extensions), which must be enabled for exploitation. Attack impact severity varies based on deployment configuration: environments with hostPath volumes mounted to Rancher containers enable host filesystem write access, while default containerized deployments limit impact to Rancher binaries and /var/lib/rancher/ cluster state. Organizations that have delegated UI extension installation permissions beyond default administrators through custom RBAC policies face elevated risk. The attack requires network access to the Rancher management interface (AV:N) but exploitation complexity is low (AC:L) once authenticated.

Impact

Despite the high CVSS base score of 8.4, real-world exploitation risk is constrained by several factors requiring careful assessment. The PR:H (high privileges required) metric indicates that by default only Rancher administrators can deploy UI extensions, significantly limiting the attack surface to insider threats or compromised admin accounts. The UI:R (user interaction required) further constrains exploitation to scenarios where an administrator actively installs a malicious extension. The S:C (scope change) metric is the primary driver of the high score, reflecting that successful exploitation could break out of the plugin's intended sandbox to affect the Rancher server, cluster state, or even the underlying host. No EPSS score or CISA KEV status data was provided, and no public exploit identified at time of analysis suggests this remains a theoretical rather than actively exploited vulnerability. However, the vendor's explicit warning that extensions should only be installed from trusted sources indicates awareness of realistic attack scenarios. The primary risk is in organizations with loose RBAC policies granting UI extension deployment permissions beyond core administrators, or supply chain attacks where seemingly legitimate extensions contain malicious traversal payloads. The changed scope makes this a priority for patching despite privilege requirements, as successful exploitation could lead to complete Rancher environment compromise.

Exploit ScenarioDerived

An attacker with Rancher administrator credentials (either through compromised account, insider threat, or social engineering) creates a malicious UI Plugin package containing a crafted compressedEndpoint value like ../../etc/rancher/config.yaml or ../../../usr/bin/rancher to overwrite critical files. When another administrator installs this seemingly legitimate extension through the Rancher UI Extensions interface, the path traversal bypasses intended directory restrictions, writing attacker-controlled content to sensitive locations. The attacker could overwrite Rancher binaries to inject backdoors, modify /var/lib/rancher/ cluster state to escalate privileges across managed Kubernetes clusters, or if hostPath volumes are mounted, compromise the underlying host node filesystem for full infrastructure takeover.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Path traversal in Rancher's UI Extensions mechanism allows authenticated administrators to write arbitrary files to the Rancher server filesystem, potentially overwriting binaries, tampering with cluster state in /var/lib/rancher/, or compromising the host node if hostPath volumes are mounted. This affects Rancher versions 2.10.11 through 2.14.0. While exploitation requires high privileges (administrator access by default) and user interaction to install a malicious extension, the changed scope (S:C) in CVSS 3.1 indicates potential container escape or cross-component impact. Vendor-released patches are available across all affected release branches (2.11.13, 2.12.9, 2.13.5, 2.14.1). No public exploit identified at time of analysis, though the attack technique (CAPEC-126 path traversal) is well-documented.

RemediationAI

Upgrade to patched Rancher releases: version 2.14.1 for the 2.14.x branch, version 2.13.5 for 2.13.x deployments, version 2.12.9 for 2.12.x environments, or version 2.11.13 for 2.11.x installations. The patches implement strict validation ensuring compressedEndpoint paths must resolve within the cache directory and cannot contain ../ traversal sequences, failing installation attempts that violate these constraints. Additionally, icon references in Cluster Repos' index.yaml files are now validated to resolve only within the repository directory. The vendor explicitly states there is no technical workaround for unpatched systems. Compensating controls for organizations unable to immediately patch include: restrict UI Plugin deployment permissions exclusively to highly trusted administrators through Rancher RBAC policies (verify no custom roles grant extension installation rights), implement mandatory security review processes for all UI extensions before deployment with code inspection for suspicious path operations, audit existing installed UI Plugins for legitimacy and remove any from untrusted sources, and monitor /var/lib/rancher/ and Rancher binary directories for unexpected file modifications. These controls reduce but do not eliminate risk, as a compromised or malicious administrator could still exploit the vulnerability. Consult the SUSE Rancher Security team at https://github.com/rancher/rancher/security/policy for environment-specific guidance. Note that restriction of extension deployment effectively limits Rancher's extensibility features until patching is complete.

Affected Packages

go github.com/rancher/rancher fix: 2.11.13, 2.12.9, 2.13.5, 2.14.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exploits CWE-35 (Path Traversal) in Rancher's UI Plugin extension system, specifically through the compressedEndpoint field in UIPlugin custom resource deployments. Rancher Extensions allow administrators to add functionality to the Rancher web UI via containerized plugins. The flaw allows path traversal sequences (../) in the compressedEndpoint parameter, causing the plugin installer to write files outside the intended cache directory. The underlying issue is insufficient input validation and path canonicalization before file operations. Affected packages are identified as pkg:go/github.com/rancher/rancher across the 2.11.x through 2.14.x release series. The CVSS vector indicates network-accessible exploitation (AV:N) with low complexity (AC:L) but requires high privileges (PR:H) and user interaction (UI:R), while scope change (S:C) suggests the vulnerability can affect resources beyond the vulnerable component's authorization scope, consistent with potential container escape or host filesystem access.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/rancher/rancher) PRIMARY 8.4 HIGH
AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (https://github.com/rancher/rancher).

CVSS VectorVendor: https://github.com/rancher/rancher

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

DescriptionCVE.org

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:

Executive ViewAI

Why It Matters

Rancher versions 2.10.11 through 2.14.0 contain a path traversal vulnerability in the UI Extensions mechanism that permits authenticated administrators to write arbitrary files to the server filesystem, potentially compromising cluster integrity and host node security. This threat is elevated by the changed CVSS scope indicating possible container escape, and organizations running affected Rancher versions should prioritize immediate remediation to prevent insider threats and operational compromise.

Business Impact: High
Compensating Controls

No interim mitigation available pending patch deployment. Immediate compensating measures: (1) Restrict UI Extension installation capability via RBAC to only explicitly trusted administrators; (2) disable the UI Extensions feature entirely if operationally feasible; (3) implement file integrity monitoring (FIM) on /var/lib/rancher/ and critical system binary directories; (4) enforce container runtime security policies to prevent privilege escalation; (5) maintain isolated backups of cluster state files. Note: these controls reduce but do not eliminate risk-vendor patch application is mandatory.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

pkg:go/github.com_rancher_rancher
pkg:go/github.com_rancher_rancher
pkg:go/github.com_rancher_rancher
pkg:go/github.com_rancher_rancher

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy