Velero CVE-2026-32637
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise object storage backend credentials
-
DeliveryUpload path-traversal backup tarball to storage
-
ExploitWait for or trigger Velero restore operation
-
ExecutionTarball extracted without filename sanitization
-
PersistOverwrite sensitive pod filesystem files (cron, SSH keys, kubeconfig)
-
ImpactEstablish persistence or steal cluster credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two concrete conditions: (1) the attacker must have write access to the object storage backend configured as Velero's backup storage location - this means compromising cloud storage credentials, bucket ACLs, or a service account with storage write permissions, which is a non-trivial prerequisite; and (2) a Velero restore operation must be executed against the tampered backup, which can occur through normal operator activity, automated restore testing, or disaster recovery procedures. The vulnerability is triggered specifically during the tarball extraction phase of a restore, not during backup creation or normal cluster operation. Exploitation is limited by the Velero pod's own filesystem permissions and what sensitive files are present; impact depends on whether the pod runs with a kubeconfig, has SSH access, or has writable cron directories. No authentication to Velero or the Kubernetes API is required by the attacker once storage access is obtained. |
| Impact | Real-world risk is meaningful but gated behind a significant prerequisite: the attacker must first compromise the object storage backend (e.g., obtain write access to the S3 bucket or equivalent). This substantially raises the bar above a straightforward remote code execution and places this vulnerability in a post-compromise persistence and lateral movement category. Once that prerequisite is met, the attacker can weaponize any subsequent restore operation without further interaction, making the exploit reliable and automatable. CVSS was not provided by NVD or the vendor; independent assessment yields AC:H due to the storage compromise requirement. The Velero pod's privileged Kubernetes RBAC posture amplifies impact: writing to ~/.kube/config exposes credentials sufficient to control the entire cluster. No EPSS score is available. No KEV listing exists, and no explicit POC code was published, though the advisory itself demonstrates exact malicious filename patterns, effectively functioning as a disclosure blueprint. The absence of workarounds acknowledged by the vendor elevates urgency: the only mitigation confirmed by the advisory is securing the object storage backend itself. |
| Exploit ScenarioDerived | An attacker with write access to the Velero backup object storage bucket (obtained via stolen cloud credentials, misconfigured bucket policy, or a compromised CI/CD pipeline with storage permissions) uploads a crafted tarball containing entries named '../../../../etc/cron.d/backdoor' and '../../../../root/.ssh/authorized_keys'. When a cluster operator or automated process next triggers a Velero restore, the Velero pod extracts the tarball without path sanitization, writing a cron job and an attacker-controlled SSH public key to the pod's filesystem, enabling persistent code execution and potentially long-term credential access. No additional interaction from a victim is required beyond initiating the restore. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Path traversal during backup restore in Velero (vmware-tanzu/velero) allows an attacker who has compromised the object storage backend to overwrite arbitrary files on the Velero pod filesystem by uploading a malicious tarball containing filenames with directory traversal sequences. Targeted files include /etc/cron.d/ entries (enabling code execution within the pod), ~/.ssh/authorized_keys (enabling persistent SSH access), and ~/.kube/config (enabling full Kubernetes cluster credential theft). No patch had been released at the time of advisory publication, though fix version 1.18.1 is indicated in package metadata, suggesting the fix was released shortly after disclosure. No public exploit code or CISA KEV listing identified at time of analysis.
RemediationAI
Upgrade Velero to version 1.18.1 or later, which is the confirmed fixed version per package metadata (the advisory was written before the patch was released; the fix has since been committed to the release-1.18 branch). See https://github.com/velero-io/velero/security/advisories/GHSA-j2g6-362q-6qc6 for the authoritative advisory. The vendor confirmed no technical workaround exists within Velero itself. The sole compensating control is hardening the object storage backend: enforce strict, least-privilege IAM policies on the backup bucket, enable object storage versioning and integrity verification (e.g., S3 Object Lock or equivalent), restrict write access to the bucket to only trusted backup agents, and monitor for unexpected object uploads. These controls prevent the adversarial tarball from reaching Velero in the first place, which the advisory acknowledges as the only effective mitigation prior to patching. Note that restricting bucket access may affect DR workflows if multiple systems share the same backend.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Velero is a Kubernetes-native backup and disaster recovery tool (pkg:go/github.com/vmware-tanzu/velero) that stores cluster backups as tarballs in an object storage backend such as S3, GCS, or Azure Blob. During a restore operation, Velero fetches the tarball and extracts it to the pod filesystem. CWE-22 (Path Traversal) arises because Velero does not sanitize or validate archive entry filenames before extraction, permitting sequences like '../../../etc/cron.d/backdoor' to escape the intended extraction directory and write to arbitrary locations on the pod's filesystem. This is a well-known variant sometimes called 'Zip Slip' applied to tar archives. Because Velero pods carry broad Kubernetes RBAC permissions necessary for cluster restore operations, the kubeconfig and other credential files accessible within the pod make this a particularly high-impact write target.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network vector because tarball is fetched from remote storage; AC:H for required storage backend compromise; S:C because kubeconfig write enables cluster-wide impact beyond the pod.
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Primary rating from Vendor (https://github.com/velero-io/velero).
CVSS VectorVendor: https://github.com/velero-io/velero
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
GHSA-j2g6-362q-6qc6
NVD
CVE.org
EPSS
Exploit-DB