Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Critical

Path Traversal in Kubernetes Local Path Provisioner pathPattern

IdentifiersCVE-2025-62878CWE-23· Relative Path Traversal

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.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, 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.
PUBLIC EXPLOITS

Exploits

No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.

VALID 0 / 1 TOTALView more in app

All candidate exploits were filtered out by Mallory's validation.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Rancher LabsLocal-Path-Provisionerapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity9

Community discussion across Reddit, Mastodon, and other social sources.