5.9medium
Velero vulnerable to file path traversal when extracting from backup's tarball
- Severity
- 5.9medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.54% (higher than 39% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j2g6-362q-6qc6GO-2026-6259
Description
Velero is an open source tool for backing up, restoring, and migrating Kubernetes cluster resources and persistent volumes. Prior to 1.18.1, an attacker who compromises the backup object-storage backend can upload a malicious backup tarball containing parent-directory paths that escape the extraction directory during restore and overwrite sensitive files in the Velero pod filesystem. This issue is fixed in version 1.18.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| velero-io velero | < 1.18.1 | CVE List |
| github.com/vmware-tanzu/velero (Go) | before 1.18.1 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 5.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Velero is an open source tool for backing up, restoring, and migrating Kubernetes cluster resources and persistent volumes. Prior to 1.18.1, an attacker who compromises the backup object-storage backend can upload a malicious backup tarball containing parent-directory paths that escape the extraction directory during restore and overwrite sensitive files in the Velero pod filesystem. This issue is fixed in version 1.18.1.
GitHub Advisory Database
Impact
What kind of vulnerability is it? Who is impacted? If the attacker compromises the backup's object storage backend and uploads a malicious backup tarball including file names like the following:
- ../../../tmp/escape_1 -> file created at /tmp/escape_1
- ../../../../../../../../tmp/escape_2 -> file created at /tmp/escape_2
- ../../../tmp/cron_poc -> would be /etc/cron.d/backdoor in real attack
- ../../../tmp/ssh_poc -> would be ~/.ssh/authorized_keys
- ../../../tmp/kubeconfig_poc -> would be ~/.kube/config
It's possible that extracting files from the tarball during restore can overwrite sensitive files in the Velero pod filesystem.
Patches
Has the problem been patched? What versions should users upgrade to?
By far, there is no patch yet. We are working on the main branch, then cherry-pick to the release-1.18 for v1.18.1 patch.
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
There is no workaround, but the good news is that keeping your OSS safe will prevent the vulnerability.
Go Vulnerability Database
Velero vulnerable to file path traversal when extracting from backup's tarball in github.com/vmware-tanzu/velero
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32637 changed 2026-08-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j2g6-362q-6qc6 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6259 changed 2026-08-26 | CC-BY-4.0 |
| NVD | CVE-2026-32637 changed 2026-09-09 | Public domain |