GitHub Advisoryadvisory · Go

GHSA-j2g6-362q-6qc6 Velero vulnerable to file path traversal when extracting from backup's tarball

MEDIUM Published 2026-08-20 Modified 2026-08-20 Official page ↗
Aliases
CVE-2026-32637
Ecosystem
Go
Packages
github.com/vmware-tanzu/velero
Severity
Moderate
CVSS vector
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
Weaknesses
CWE-22
Reviewed
2026-08-20

Affected packages

• Go github.com/vmware-tanzu/velero: < 1.18.1 → fixed in 1.18.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-32637 Velero is an open source tool for backing up, restoring, and migrating Kubernetes cluster resources and persistent volumes. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References