CVE-2025-62878: Path Traversal in Kubernetes Local Path Provisioner pathPattern
CVE-2025-62878 is a path traversal vulnerability in Kubernetes Local Path Provisioner. The flaw is caused by insufficient sanitization and validation of the user-controlled StorageClass parameter parameters.pathPattern. By supplying traversal sequences such as ../../, a malicious user can cause the provisioner to create PersistentVolumes in filesystem locations outside the intended base directory on the host node. This breaks the expected storage isolation boundary and allows volume paths to resolve to arbitrary host locations. Reported descriptions state that this can result in PersistentVolumes being created in unintended directories, including sensitive areas of the host filesystem, with potential overwrite of sensitive files or unauthorized access to directories on the node.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can allow an attacker to escape the provisioner's intended storage sandbox and influence file placement on the Kubernetes host. The documented consequences include creating PersistentVolumes in arbitrary host filesystem locations, overwriting sensitive files, and accessing unintended directories. Depending on the targeted path and node configuration, this can compromise confidentiality, integrity, and availability of the host and workloads, including modification of system configuration, planting malicious content, or destabilizing/crashing the node.
Mitigation
If you can’t patch tonight, do this now.
No workaround is available according to the advisory. The stated mitigation is to upgrade to a patched version. Until patching, reducing who can create or modify StorageClasses or storage resources may reduce exposure, but this is not presented in the provided advisory as a supported workaround.
Remediation
Patch, then assume compromise.
Upgrade Kubernetes Local Path Provisioner to version v0.0.34 or later. The fix adds stricter validation and normalization of parameters.pathPattern and rejects traversal attempts or patterns that resolve outside the configured base directory.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Frequently asked questions
- Is CVE-2025-62878 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-62878 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-62878?
- As of Sep 25, 2026, Mallory has not confirmed a public exploit for CVE-2025-62878. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2025-62878?
- Upgrade Kubernetes Local Path Provisioner to version v0.0.34 or later. The fix adds stricter validation and normalization of parameters.pathPattern and rejects traversal attempts or patterns that resolve outside the configured base directory.
- How severe is CVE-2025-62878?
- CVE-2025-62878 has a CVSS v3.1 score of 9.9 (Critical) and an EPSS score of 0.72% (50th percentile) as of Sep 25, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.