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.
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.
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.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
parameters.pathPattern and rejects traversal attempts or patterns that resolve outside the configured base directory.Exploits
No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
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.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A vulnerability where a malicious user can manipulate a path pattern parameter to cause PersistentVolumes to be created at arbitrary locations on a host node, enabling potential sensitive file overwrite or unintended directory access (path traversal / improper limitation of pathname).
A maximum-severity directory traversal / path sanitization flaw in Rancher/SUSE Local Path Provisioner for Kubernetes that allows a user who can create storage resources to escape the intended base path and create volumes in arbitrary host filesystem locations, enabling unauthorized file write/overwrite on the Kubernetes node (host escape via storage provisioning).
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.