Security Vulnerability Report
中文
CVE-2026-25705 CVSS 8.4 HIGH

CVE-2026-25705

Published: 2026-05-13 08:16:16
Last Modified: 2026-05-13 15:35:35

Description

A 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: * 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.

CVSS Details

CVSS Score
8.4
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Rancher Extensions (具体受影响版本请参考官方安全公告 GHSA-5v3h-x4wf-5c35)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Example of a malicious UIPlugin manifest exploiting path traversal apiVersion: management.cattle.io/v3 kind: UIPlugin metadata: name: malicious-extension spec: # The compressedEndpoint field is vulnerable to path traversal # This payload attempts to write to /var/lib/rancher/config/ to overwrite binaries compressedEndpoint: "../../../../../var/lib/rancher/config/malicious_payload.js" version: "1.0.0" # The actual binary/content would be served from this endpoint # and written to the traversed path.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-25705", "sourceIdentifier": "[email protected]", "published": "2026-05-13T08:16:16.083", "lastModified": "2026-05-13T15:35:35.267", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "A 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: * Overwrite Rancher binaries or configuration to inject code.\n\n * Write to /var/lib/rancher/ to tamper with cluster state.\n\n * If hostPath volumes are mounted, write to the host node filesystem.\n\n * Use this issue to chain with other attack vectors."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.7, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-35"}]}], "references": [{"url": "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-25705", "source": "[email protected]"}, {"url": "https://github.com/rancher/rancher/security/advisories/GHSA-5v3h-x4wf-5c35", "source": "[email protected]"}]}}